Skip to content

Instantly share code, notes, and snippets.

@julia-r
Created July 8, 2019 13:08
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 julia-r/0c227bef385fe90424ee1d07053f4f38 to your computer and use it in GitHub Desktop.
Save julia-r/0c227bef385fe90424ee1d07053f4f38 to your computer and use it in GitHub Desktop.
Untitled
body {
background-color: black;
}
#preload {
display: block;
background-color: #fff;
box-shadow: 0 0 3px 3px #fff, 0 0 2px 2px #fff;
border-radius: 50%;
width: 2px;
height: 2px;
position: absolute;
top: 50%;
left: 50%;
opacity: 1;
animation-name: boom;
animation-duration: 1s;
animation-fill-mode: both;
animation-delay: 3s;
animation-iteration-count: 2;
animation-direction: alternate;
}
@keyframes boom {
0% {
opacity: 0;
transform: scale(1);
}
100% {
opacity: 1;
transform: scale(1500);
}}
<div id="preload"></div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment