Skip to content

Instantly share code, notes, and snippets.

@amorkovin
Last active May 6, 2020 08:11
Show Gist options
  • Save amorkovin/310e130945cb7cbf2a45995157adccbc to your computer and use it in GitHub Desktop.
Save amorkovin/310e130945cb7cbf2a45995157adccbc to your computer and use it in GitHub Desktop.
Прелоадер Preloader (ака плейсхолдер)
.diet-box.loading {
position: relative;
z-index: 1;
}
.diet-box.loading:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url(images/preloader.gif) no-repeat 50% 50% rgba(255,255,255,0.5);
/*background-size: auto 80%;*/
z-index: 2;
}
@amorkovin
Copy link
Author

Файл preloaders.gif.
preloaders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment