background-size 兼容ie8
来源:互联网 发布:精雕软件视频教程 编辑:程序博客网 时间:2024/04/29 09:45
吐槽:ie就是一个奇葩,中国的浏览器更是奇葩
最新版本的基本都是支持background-size:100% 100%;但是在ie8中是不支持这个属性的
解决方法:
/*background-size兼容ie8,图片地址需要时绝对路径*/
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='/delta/img/freight/freight-ico.jpg',
sizingMethod='scale');
-ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='/delta/img/freight/freight-ico.jpg',
sizingMethod='scale');
}
阅读全文
0 0
- IE8兼容background-size
- background-size 兼容ie8
- background-size 兼容ie8
- background-size兼容IE8解决方案
- IE8兼容background-size属性
- IE8兼容background-size:cover
- background-size:cover兼容IE8的方法
- IE8支持background-size
- background-size兼容
- background-size兼容ie
- css背景图片填充样式background-size兼容ie8以下浏览器解决
- background-size兼容ie7/8
- background-size doesn't work in IE8
- ie7,ie8背景图片background-size无效问题
- css3 background-size:cover IE8不支持 解决办法
- ie8下兼容background-sizing方案
- css3 background-size属性--ie兼容
- ie9以下兼容background-size属性
- 反射获得getSystemService()的方法
- PHPUnit在Window下如何配置
- javaweb第一次
- Leetcode 由易入难 389. Find the Difference
- spring整体架构
- background-size 兼容ie8
- Yii
- 定制排序的一个例子
- Laravel 安装代码智能提示扩展「laravel-ide-helper」
- 字节流与字符流的区别细谈
- [剑指offer]合并两个排序的链表
- C语言 数组
- Struts2入门——基础详解
- Android监听手机返回键