background:#777777 none repeat scroll 0 0;
它包含的5个属性是background-color,background-image,background-repeat,background-attachment和background-position。
我的问题是:
如果背景图像为无,背景重复、背景附件和背景位置是否无用? 因为根据文档,这些都是用来改变背景图像的。
最佳答案
是的。没有它,它们就没有意义。
关于css - CSS 中的背景属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1040580/