1

嗨,我做了 css 验证器,我得到了这些:

只有 0 可以是长度。你必须在你的号码后面加上一个单位){ *{ background:white url("../images/background1024768.png") no-repeat left top} }

这可能是因为@media 属性是怎么回事?我做错了吗?这是CSS:

@media(min-width:1280){
*{    background:white url("../images/background1280800.png") no-repeat left top;} 
}
4

1 回答 1

4

你少了一个单位。min-width:1280px

同样根据样式指南,避免在后台 URL 中使用引号。

background:white url(../images/background1280800.png) top left no-repeat

于 2012-05-25T01:21:43.507 回答