📜  css 背景图像大小以适应屏幕 - CSS 代码示例

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

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