Skip to content

Instantly share code, notes, and snippets.

@maxbailey
Last active December 23, 2015 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxbailey/6679764 to your computer and use it in GitHub Desktop.
Save maxbailey/6679764 to your computer and use it in GitHub Desktop.
A Pen by Max Bailey.
<div class="loader"><img src="http://i.imgur.com/IqW1i5s.gif"><p>Saving Changes</p></div>
/*
Nathan,
1) Remove the font-family attribute.
2) Ignore line 1 of the SCSS.
3) Download the new GIF at the URL used.
4) You can remove the <p> tag if you want to just have the GIF.
5) If you want it to be on the top, or the left, or where ever, Change lines 12 & 13.
6) IMPORTANT - If the text isn't perfectly centered, change the first value on line 17.
Max
*/
@import "compass";
$brand-darkGray:#333;
.loader {
background:$brand-darkGray;
padding:15px 25px;
position:absolute;
z-index:1000;
border-radius:100px;
color:#FFF;
font-family:arial;
font-size:12px;
bottom:10px;
right:10px;
p {
float:left;
margin:2px 0 0 10px;
padding:0;
}
img {
height:16px;
float:left;
margin:0;
user-select:none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment