Created
July 8, 2019 13:08
-
-
Save julia-r/0c227bef385fe90424ee1d07053f4f38 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="preload"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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