Created
October 16, 2022 19:54
-
-
Save bastiendmt/494c0d76296b2144fdfe719c10efdfbe to your computer and use it in GitHub Desktop.
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
.Loader { | |
margin: auto; | |
border: 10px solid grey; | |
border-top: 10px solid blue; | |
border-radius: 50%; | |
width: 80px; | |
height: 80px; | |
animation: spin 1.5s linear infinite; | |
} | |
@keyframes spin { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} |
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
import styles from './Loader.module.scss'; | |
const Loader = (): JSX.Element => <div className={styles.Loader} />; | |
export default Loader; |
Author
bastiendmt
commented
Oct 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment