📜  背景图像 css 填充屏幕 - CSS 代码示例

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

代码示例4
body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}