当我在设计背景图像时尝试将几行CSS组合成一行时:
- background: url("img/background.jpg") cover no-repeat;
它不起作用;然而,当我移动封面并且不重复自己的线条时
- background: url("img/background.jpg");
- background-size: cover;
- background-repeat: no-repeat;