1
我正在創建一個非常簡單的網站,現在我正在使用.gif圖像作爲動畫背景。在動畫背景中使用.gif圖像的任何替代方法?
body, html{
background-image: url("http://i.imgur.com/3F7rneL.gif");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
它的工作原理,但我敢肯定,背景將需要一些時間來加載,所以我試圖GIF更改爲gifv,但它不工作。
是否有任何其他替代方案可以將此動畫作爲背景?