LESS CSS IE targetting? [英] LESS CSS IE targetting?
本文介绍了LESS CSS IE targetting?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在LESS中定位IE7,8等的最佳方法是什么?
What's the best way to target IE7, 8 etc. in LESS?
有一种方法来定位它们,或者我理想上需要加载一个单独的样式表?
Is there a method to target them or would I ideally need to load a separate style sheet?
感谢您的帮助!
推荐答案
知道,LESS不允许您定位到特定的浏览器,只有媒体大小。
As far as I know, LESS doesn't allow you to target specific browsers, only media sizes.
您需要执行以下操作:
<!--[if IE]>
<link rel="stylesheet/less" type="text/css" href="ie.less" />
<![endif]-->
这篇关于LESS CSS IE targetting?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文