image loading with rotating gif

/ Published in: CSS
Save to your folder(s)

You can simply put it in your reset stylesheet. It visualizes the classic rotating gif while the document's images are coming from the server at page load.

Copy this code and paste it in your HTML
  1. img{
  2. background: url(loader.gif) no-repeat 50% 50%;
  3. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.