js判断苹果安卓操做系统,js更换css

//判断是哪一个操做系统
if(plus.os.name=="Android"){
var lsyshowline=document.getElementById("lsyshowline");
lsyshowline.style.cssText = 'line-height: 1.1rem;font-size:0.75rem;';

}else{
var lsyshowline=document.getElementById("lsyshowline");
lsyshowline.style.cssText = 'line-height: 1rem;';

}css

相关文章
相关标签/搜索