From d2762f2001f49622ea0f614bd673d3dd2c02d4fa Mon Sep 17 00:00:00 2001 From: Sam <74021826+x39OME@users.noreply.github.com> Date: Sun, 12 Mar 2023 17:23:10 +0300 Subject: [PATCH] Add files via upload --- .../19-multiple-dotted-loader/index.html | 12 +++++ .../19-multiple-dotted-loader/style.css | 53 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 100_projects/19-multiple-dotted-loader/index.html create mode 100644 100_projects/19-multiple-dotted-loader/style.css diff --git a/100_projects/19-multiple-dotted-loader/index.html b/100_projects/19-multiple-dotted-loader/index.html new file mode 100644 index 0000000..52a1f3e --- /dev/null +++ b/100_projects/19-multiple-dotted-loader/index.html @@ -0,0 +1,12 @@ + + + + + + document + + + +
+ + \ No newline at end of file diff --git a/100_projects/19-multiple-dotted-loader/style.css b/100_projects/19-multiple-dotted-loader/style.css new file mode 100644 index 0000000..7971233 --- /dev/null +++ b/100_projects/19-multiple-dotted-loader/style.css @@ -0,0 +1,53 @@ +* { + box-sizing: border-box; +} +body { + margin: 0; + font-family: "Cairo", sans-serif; +} +.loader { + width: 100px; + height: 100px; + border-width: 4px; + border-color: #46D5EE; + border-style: solid solid dotted dotted; + border-radius: 50%; + position: absolute; + left: 50%; + top: 50%; + margin-top: -50px; + margin-left: -50px; + animation: rotate-right 2s linear infinite; +} +.loader::before { + content: ""; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + margin: auto; + border-width: 4px; + border-color: #CD70AE; + border-style: solid dotted; + border-radius: 50%; + width: 60px; + height: 60px; + animation: rotate-left 1s linear infinite; +} +@keyframes rotate-right { + from { + transform: rotate(0); + } + to { + transform: rotate(1turn); + } +} +@keyframes rotate-left { + from { + transform: rotate(0); + } + to { + transform: rotate(-1turn); + } +} \ No newline at end of file