Last active
March 24, 2017 11:33
-
-
Save rafszul/f9630b626904b149cf9bf91feed50974 to your computer and use it in GitHub Desktop.
centering "loading" msg + some animation of dotts
This file contains hidden or 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> | |
| <app-root> | |
| <style> | |
| app-root { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| font-size: 5em; | |
| color: #455A64; | |
| text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); | |
| } | |
| @keyframes dots { | |
| 50% { | |
| transform: translateY(-.4rem); | |
| } | |
| 100% { | |
| transform: translateY(0); | |
| } | |
| } | |
| .d { | |
| animation: dots 1.5s ease-out infinite; | |
| } | |
| .d-2 { | |
| animation-delay: .5s; | |
| } | |
| .d-3 { | |
| animation-delay: 1s; | |
| } | |
| </style> | |
| Loading<span class="d">.</span><span class="d d-2">.</span><span class="d d-3">.</span></investin-art-root> | |
| </body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment