背景图片学习总结

background 添加颜色的两种写法 background:red; background-color:red;   大小   .bg1{background-size: 100% 50%;}   宽度保持原图大小,高度百分之50%   我估计正常使用也是等比缩小或放大,不会像这样失真的         .bg2{backgro
相关文章
相关标签/搜索