<分区>
标签 css background
<分区>
跨多个浏览器最兼容的最佳实践是什么:
background:#ffffff;
或
background-color:#ffffff;
还是最好同时使用两者来覆盖更多内容:
background:#ffffff;
background-color:#ffffff;
最佳答案
兼容性没有区别。唯一的区别是使用 background
你可以在同一行添加几个属性,你可能知道,而不是重复 background-color
, backgroud-image
等在不同的行中。
关于css - 背景还是背景颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24302571/