css 判断浏览器的方法

时间:2021-04-16

  css 判断浏览器的方法:


@media screen and (-webkit-min-device-pixel-ratio:0) {
.fileinput {
margin-left: -30%;
}
}


@-moz-document url-prefix() {
.fileinput {
margin-left: -26%;
}
}

<div class="input input-w1">
<div class="inputFileBox">
<form id="importform" action="/microMaster/channelcompany/channelCompany/onlineAdditionUploadTemplet" method="post" enctype="multipart/form-data">
<label class="label label-w6" for="importexcels">浏览</label>
<input class="fileinput" cursor: pointer;width:252px;" name="importexcel" type="file" id="importexcels"/>
</form>
</div>
</div>

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章