Open thomasliew opened 2 years ago
https://thomasliew.gitee.io/nianyi-static/2022/04/20/a55a09dc2afe.html
1background: url("xxx.jpg") no-repeat center left/contain; url 是否循环 位置 尺寸 如果位置和尺寸只写一组那么就是位置,尺寸走缺省值;俩都写中间用/分隔 位置:垂直 水平 尺寸:垂直 水平 1background: url("xxx.jpg") #333 no-repeat center
https://thomasliew.gitee.io/nianyi-static/2022/04/20/a55a09dc2afe.html
1background: url("xxx.jpg") no-repeat center left/contain; url 是否循环 位置 尺寸 如果位置和尺寸只写一组那么就是位置,尺寸走缺省值;俩都写中间用/分隔 位置:垂直 水平 尺寸:垂直 水平 1background: url("xxx.jpg") #333 no-repeat center