想要把 background-size 写在 background 声明中,你需要在它前面加 / ,然后紧随在 background-position 之后。
background: url(http://lao.si/img/logo.png) 50% 50% / cover;
这样也没问题:
background: url(http://lao.si/img/logo.png) #000 left/cover fixed;
2015-10-12 15:59:36