Created
July 30, 2019 07:38
-
-
Save antruongnguyen/cf39b82b0812c328665224dfbcee89ed to your computer and use it in GitHub Desktop.
CSS Loading Icon
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
.loading { | |
height: 40px; | |
width: 40px; | |
background: transparent; | |
border-radius: 50%; | |
border: 2px solid rgba(0, 0, 0, 0.3); | |
border-top: 2px solid #1d9af2; | |
animation: spinner 500ms linear infinite; | |
} | |
@keyframes spinner { | |
to { | |
transform: rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment