简单的,平时用到的兼容问题,记录下来,方便查看。
针对IE透明度:
less写法:~'alpha(opacity=75)', ~'alpha(opacity=75)9';
css写法:alpha(opacity=75), alpha(opacity=75)9;
针对IE8兼容:
less写法:bacground: #f9f8f7~'9';(或者任取一个)
background: #ffc; /* 对firefox有效 */
*background: #ccc; /* 对IE7有效 */
_background: #000; /* 只对IE6有效 */
margin-bottom: 40px; /* firefox的属性 */
margin-bottom: 140px9; /* IE6/ 7/8的属性*/
color: red; /* IE8支持 */
*margin-bottom: 450px; /* IE6/7的属性 */
Firefox:支持!important(IE7,IE8,Firefox,Chrome识别,IE6不能完全识别)
cursor:pointer 可以同时在IE,Firefox中显示游标手指状,hand仅IE可以