Created
October 13, 2017 18:42
-
-
Save mdesjardins/0458cedac355995ac7116324bf032319 to your computer and use it in GitHub Desktop.
Wait 2s to become visible
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
/* Also tried opacity instead of visibility */ | |
@keyframes waitTwoSeconds { | |
from { visibility: hidden; } | |
to { visibility: visible; } | |
} | |
.loadingPleaseWait { | |
animation-delay: 5s; | |
animation-duration: 100ms; | |
animation-name: waitTwoSeconds; | |
} | |
/* | |
<div class="loadingPleaseWait"> | |
<p> | |
Looks like things are a little pokey at the moment, be right with you... | |
</p> | |
</div> | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment