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