我正在开发Web应用程序,我需要将Microsoft Edge的浏览器与其他浏览器分开识别,以应用独特的样式.有没有办法通过使用CSS识别Edge?就像,
<!--[if IE 11]>
Special instructions for IE 11 here
<![endif]-->
Run Code Online (Sandbox Code Playgroud) 我在CSS中有这个类,我需要在它的IE时更改它.我想删除padding-bottom.我怎样才能做到这一点?
我不想添加另一个CSS文件,我想只更改一个类中的一个属性.
.container-wrapp{
float: left;
position: relative;
width: 100%;
padding-bottom:100px;
height: 100%;
}
Run Code Online (Sandbox Code Playgroud)
我试过这个但没有成功:
<!--[if IE]>
<style type="text/css">
.container-wrapp{
float: left;
position: relative;
width: 100%;
height: 100%;
}
</style>
<![endif]-->
Run Code Online (Sandbox Code Playgroud)