📜  在每个屏幕上使背景充满 css 代码示例

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

代码示例1
html { 
  background: url(images/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}