css整理 background-size优化
2015-05-12 13:06
281 查看
font-size:12px; line-height:22px; font-family:Arial,Helvetica,sans-serif; /*优化*/ font:12px/22px Arial,Helvetica,sans-serif; background-color:#eee; background-image:url(background.gif); background-repeat:no-repeat; background-attachment:fixed; background-position:0 0; background-size:50px 50px; /*优化 background-size*/ background:#f00 url(background.gif) no-repeat fixed 0 0/50px 50px;
background:#f00 url(background.gif) no-repeat fixed 0 0/cover; 安卓低版本不兼容
/*针对低版本浏览器none无效*/ border:none;border:0\9; /*激活虚线问题*/ a:active,a:focus{outline:none; star:expression(this.onFocus=this.blur());}
相关文章推荐
- 完美的背景图全屏css代码 – background-size:cover?
- 【转】整理及优化CSS代码的七个原则
- 整理及优化CSS代码的七个原则
- 关于css中background-size的问题
- css background-size与背景图片填满div
- HTML,CSS优化整理清除
- css 背景图片尺寸设置 background-size
- css background size
- css3整理--background-size
- css中background-size属性
- css背景图片填充样式background-size兼容ie8以下浏览器解决
- CSS中背景图片的属性:background-repeat、background-position、background-size
- 完美的背景图全屏css代码 – background-size:cover
- css中遇到的技巧和坑儿——background-size使用transition失效
- HTML&CSS——CSS3 Background-size
- IE7 8兼容css background-size属性
- 整理及优化CSS代码的7个原则
- 整理及优化CSS代码的七个原则
- 整理优化你的CSS代码
- 整理及优化CSS代码的7个原则