本文介绍了如何通过CSS识别Microsoft Edge浏览器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发网络应用程序,我需要与其他人分开识别Microsoft Edge的浏览器,以应用独特的样式。有没有办法使用CSS来识别Edge?
就像
I'm developing web application and I need to identify Microsoft Edge's browser separately from others, to apply unique styling. Is there a way to identify Edge by using CSS?Just like,
<!--[if IE 11]>
Special instructions for IE 11 here
<![endif]-->
推荐答案
$ b
This one should work:
@supports (-ms-ime-align:auto) {
.selector {
property: value;
}
}
更多见:
这篇关于如何通过CSS识别Microsoft Edge浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!