diff --git a/ui/scss/content.scss b/ui/scss/content.scss index 54b2da8..cb7ea76 100644 --- a/ui/scss/content.scss +++ b/ui/scss/content.scss @@ -17,4 +17,27 @@ } } } -} \ No newline at end of file +} + +.loader { + display: inline-block; + border: 5px solid lightgrey; + border-radius: 50%; + border-top: 5px solid #3498db; + width: 20px; + height: 20px; + -webkit-animation: spin 2s linear infinite; + animation: spin 2s linear infinite; + box-sizing: unset; + position: absolute; +} + +@-webkit-keyframes spin { + 0% { -webkit-transform: rotate(0deg); } + 100% { -webkit-transform: rotate(360deg); } +} + +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +}