是否有任何理由使用HTML5樣板時,設立在CSS使用CSS背景圖像不顯示(使用HTML5樣板)
body {
background-image: url(../images/beach.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
一個網站,我就不會加載圖像,但使用只是爲了
body {
background: url(../images/beach.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
有效嗎?