summaryrefslogtreecommitdiff
path: root/css/loader.css
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
committerMinteck <contact@minteck.org>2022-03-27 21:29:24 +0200
commit226516aca48e97d3dc4e4df213bc2023e64b1afd (patch)
tree60fb4f24b75b120e7e5b0e149069b16367c48aa0 /css/loader.css
downloadargon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.gz
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.tar.bz2
argon-226516aca48e97d3dc4e4df213bc2023e64b1afd.zip
Initial commit
Diffstat (limited to 'css/loader.css')
-rw-r--r--css/loader.css36
1 files changed, 36 insertions, 0 deletions
diff --git a/css/loader.css b/css/loader.css
new file mode 100644
index 0000000..c0f2bce
--- /dev/null
+++ b/css/loader.css
@@ -0,0 +1,36 @@
+.loader-path {
+ fill: none;
+ stroke: black;
+ stroke-width: 3px;
+ stroke-linecap: round;
+ stroke-dasharray: 10, 10;
+}
+
+@keyframes rotate {
+ 100% {
+ transform: rotate(360deg);
+ }
+}
+
+.circular-loader {
+ animation: rotate 2s linear infinite;
+}
+
+@keyframes animate-stroke {
+ 0% {
+ stroke-dasharray: 1, 200;
+ stroke-dashoffset: 0;
+ }
+ 50% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -35;
+ }
+ 100% {
+ stroke-dasharray: 89, 200;
+ stroke-dashoffset: -124;
+ }
+}
+
+.loader-path {
+ animation: animate-stroke 1.5s ease-in-out infinite;
+} \ No newline at end of file