js设置 div长宽同比例缩放设置25%后获取宽度值var div = document.getElementById("div")var widht = div.offsetWidth宽度var height = widht * 0.75高2023-04-08JavaScript210