📜  使背景图像更小 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:41.947000             🧑  作者: Mango

代码示例1
/*The cover value specifies that the background image should be sized
so that it is as small as possible while ensuring that both dimensions
are greater than or equal to the corresponding size of the container.*/

background-size: cover;