相关疑难解决方法(0)

如何通过CSS识别Microsoft Edge浏览器?

我正在开发Web应用程序,我需要将Microsoft Edge的浏览器与其他浏览器分开识别,以应用独特的样式.有没有办法通过使用CSS识别Edge?就像,

<!--[if IE 11]>
Special instructions for IE 11 here
<![endif]-->
Run Code Online (Sandbox Code Playgroud)

css browser microsoft-edge

80
推荐指数
3
解决办法
9万
查看次数

如何只为IE申请课程?

我在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)

css internet-explorer

1
推荐指数
1
解决办法
9718
查看次数

标签 统计

css ×2

browser ×1

internet-explorer ×1

microsoft-edge ×1