让less编译通过css滤镜

写IE6 hack的时候,发现在less中直接写css滤镜是会报错的,不能编译通过。

解决方法为:用~“”把相关的css代码包裹起来,例如: _top:~"expression(documentElement.scrollTop+260)";

posted @ 2014-10-23 15:48  iulo  阅读(184)  评论(0编辑  收藏  举报