📜  使背景图像全宽 - CSS 代码示例

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

代码示例5
body { 
  background: url(path/to/bg-image.jpg) no-repeat center center fixed;
  background-size: cover;
}