摘要:
.clearfix:after { content: ""; display: block; height: 0; clear: both; visibility: hidden; }/* 为兼容IE6,IE7,因为ie6,ie7不能用after伪类 */.clearfix{ zoom:1;} 阅读全文
摘要:
在用到background-size属性css处加上filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/button.png", sizingMethod='scale'); 需要注意的是加上这句话后只是又加载一 阅读全文
摘要:
//placeholder兼容ie9 function isPlaceholder(){ var input = document.createElement('input'); return 'placeholder' in input; } if (!isPlaceholder()) {//不支 阅读全文