background-size属性指定背景图片大小。
- 例子
div {
background: url(../static/images/icon_introduce_bg.png) 100% no-repeat;
background-size:100% 100%;
-moz-background-size:100% 100%
}
div {
background: url(../static/images/icon_introduce_bg.png) 100% no-repeat;
background-size:100% 100%;
-moz-background-size:100% 100%
}
本文标题:background-size
本文链接:https://www.haomeiwen.com/subject/qsohzltx.html
网友评论