Skip to content

Instantly share code, notes, and snippets.

@bastiendmt
Created October 16, 2022 19:54
Show Gist options
  • Save bastiendmt/494c0d76296b2144fdfe719c10efdfbe to your computer and use it in GitHub Desktop.
Save bastiendmt/494c0d76296b2144fdfe719c10efdfbe to your computer and use it in GitHub Desktop.
.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);
}
}
import styles from './Loader.module.scss';
const Loader = (): JSX.Element => <div className={styles.Loader} />;
export default Loader;
@bastiendmt
Copy link
Author

loader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment