html - How to display a gif fullscreen for a webpage background? -


i'm trying make gif fit whole screen, far small square on screen while rest white. however, want take space.

any ideas?

if it's background, use background-size: cover;

demo

background-image: url('source.gif'); background-size: cover; 

Comments

Popular posts from this blog

node.js - StackOverflow API not returning JSON -

ios - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile -

android - Drag and drop in ScrollView -