大佬,这段css样式中的center/cover这么写是什么意思啊????
css3吧
全部回复
仅看楼主
level 1
扯娃00
楼主
2019年06月10日 16点06分
1
level 10
YiMartin
居中/覆盖吧
2019年06月18日 02点06分
2
level 2
s81063
center是background-position,
cover是background-size。
这段代码表示背景图片的位置居中,大小伸缩为覆盖整个盒子。
2022年08月03日 16点08分
5
低调老油灯
2023年02月10日 00点02分
level 2
s81063
好久远
2022年08月03日 17点08分
6
level 12
😍saiya☜
是哒
2022年08月29日 09点08分
8
1