IE/background

来自康健生活
< IE
Kangkk​(留言 | 贡献)2021年4月3日 (六) 13:12的版本 (创建页面,内容为“== 引言 == 背景图兼容 <syntaxhighlight lang="css"> .section_item_1{ .bg_d{ background: url("../../assets/home/D@3x.png") no-repeat; width: 59.88%;…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

引言

背景图兼容

.section_item_1{
  .bg_d{
    background: url("../../assets/home/D@3x.png") no-repeat;
    width: 59.88%;
    height: auto;
    background-size:100% 100%;
    // IE5.5+
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="../../assets/home/D@3x.png",sizingMethod="scale");
  }
}