标签:alt number inner keyword elements word 自适应 lin line
var
window_h=
function
(element,height){
var
element=document.getElementsByClassName(element);
for
(
let
i=0;i<element.length;i++){
element
[i].style.height=window.innerHeight *height+
"px"
}
}
标签:alt number inner keyword elements word 自适应 lin line
原文地址:https://www.cnblogs.com/shoolnight/p/14177016.html