background-size兼容ie
2017-05-18 11:12
148 查看
1.最好使用背景图尺寸正好的
2.引入文件
background-image: url(../img/ui-user.png);
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/ui-user.png',sizingMethod='scale')";
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/ui-user.png',sizingMethod='scale');
-ms-behavior: url(../css/backgroundsize.min.htc);
display: block;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
-ms-behavior: url(../css/backgroundsize.min.htc);
behavior: url(../css/backgroundsize.min.htc);
}
register.css:23
2.引入文件
background-image: url(../img/ui-user.png);
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/ui-user.png',sizingMethod='scale')";
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/ui-user.png',sizingMethod='scale');
-ms-behavior: url(../css/backgroundsize.min.htc);
display: block;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
-ms-behavior: url(../css/backgroundsize.min.htc);
behavior: url(../css/backgroundsize.min.htc);
}
register.css:23
相关文章推荐
- 解决ie 低版本的 background-size 兼容问题
- background-size兼容ie7/8
- ie9以下兼容background-size属性
- css3的background-size兼容IE低版本
- 让IE兼容background-size的方法_background-size ie下使用
- 【技术】让IE兼容background-size
- css3 background-size属性--ie兼容
- ie8兼容background-size属性
- background-size:cover兼容IE8的方法
- -_-#【兼容】ie6ie7下textarea设background
- 浏览器兼容之background-size
- background-size IE8兼容方案
- IE中使用font-size来调整element大小,显示background-image
- IE8兼容background-size
- 背景图片background-size兼容ie8以下浏览器解决
- User select font-face/color/size/backgroundColor设置 字体,颜色,大小,背景色兼容主流浏览器
- div显示图片不全和background-size在ie和火狐下不生效的解决方法
- background-size 兼容ie8
- User select font-face/color/size/backgroundColor设置 字体,颜色,大小,背景色兼容主流浏览器
- User select font-face/color/size/backgroundColor设置 字体,颜色,大小,背景色兼容主流浏览器