Skip to content

Commit a8f91ed

Browse files
Vineeth T RVineeth T R
Vineeth T R
authored and
Vineeth T R
committed
spin 300
1 parent 69b991b commit a8f91ed

File tree

3 files changed

+122
-5
lines changed

3 files changed

+122
-5
lines changed

Diff for: js/loaders/circle.js

+27
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const CIRCLE = [
7777
100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
7878
}`,
7979
},
80+
8081
{
8182
id: "spin-fllwBRbease4jr",
8283
html: `<span class="loader"></span>`,
@@ -1889,6 +1890,32 @@ export const CIRCLE = [
18891890
}
18901891
`,
18911892
},
1893+
{
1894+
id: "ringMolt",
1895+
html: `<span class="loader"></span>`,
1896+
css: `.loader {
1897+
position: relative;
1898+
width: 100px;
1899+
height: 100px;
1900+
}
1901+
1902+
.loader:before , .loader:after{
1903+
content: '';
1904+
border-radius: 50%;
1905+
position: absolute;
1906+
inset: 0;
1907+
box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.3) inset;
1908+
}
1909+
.loader:after {
1910+
box-shadow: 0 2px 0 #FF3D00 inset;
1911+
animation: rotate 2s linear infinite;
1912+
}
1913+
1914+
@keyframes rotate {
1915+
0% { transform: rotate(0)}
1916+
100% { transform: rotate(360deg)}
1917+
}`,
1918+
},
18921919

18931920

18941921

Diff for: js/loaders/line.js

+49-5
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,55 @@ export const LINE = [
278278
@keyframes animloader {
279279
0% { width: 4.8px }
280280
100% { width: 48px}
281-
}`,
282-
}, {
283-
id: "zdy2kji5lvp",
284-
html: `<span class="loader"></span>`,
285-
css: `.loader {
281+
}
282+
`,
283+
},
284+
{
285+
id: "linSpiLox",
286+
html: `<span class="loader"></span>`,
287+
css: `.loader {
288+
color: #FFF;
289+
position: relative;
290+
font-size: 11px;
291+
background: #FFF;
292+
animation: escaleY 1s infinite ease-in-out;
293+
width: 1em;
294+
height: 4em;
295+
animation-delay: -0.16s;
296+
}
297+
.loader:before,
298+
.loader:after {
299+
content: '';
300+
position: absolute;
301+
top: 0;
302+
left: 2em;
303+
background: #FFF;
304+
width: 1em;
305+
height: 4em;
306+
animation: escaleY 1s infinite ease-in-out;
307+
}
308+
.loader:before {
309+
left: -2em;
310+
animation-delay: -0.32s;
311+
}
312+
313+
@keyframes escaleY {
314+
0%, 80%, 100% {
315+
box-shadow: 0 0;
316+
height: 4em;
317+
}
318+
40% {
319+
box-shadow: 0 -2em;
320+
height: 5em;
321+
}
322+
}
323+
`,
324+
},
325+
326+
{
327+
id: "zdy2kji5lvp",
328+
html: `<span class="loader"></span>`,
329+
css: `.loader {
286330
width: 8px;
287331
height: 48px;
288332
display: inline-block;

Diff for: js/loaders/progress.js

+46
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,52 @@ export const PROGRESS = [
752752
100% { left: 100%; transform: translateX(-100%); }
753753
}
754754
`,
755+
},
756+
{
757+
id: "toBlrSpn",
758+
html: `<span class="loader"></span>`,
759+
css: `.loader{
760+
width: 200px;
761+
height: 40px;
762+
background-color: #0004;
763+
position: relative;
764+
border-radius: 50px;
765+
box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.05);
766+
}
767+
.loader:after {
768+
border-radius: 50px;
769+
content: "";
770+
position: absolute;
771+
background-color: #fff;
772+
left: 2px;
773+
top: 2px;
774+
bottom: 2px;
775+
right: 360px;
776+
animation: slide 2s linear infinite;
777+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
778+
}
779+
780+
@keyframes slide {
781+
0% {
782+
right: 150px;
783+
left: 2px;
784+
}
785+
5% {
786+
left: 2px;
787+
}
788+
50% {
789+
right: 2px;
790+
left: 150px;
791+
}
792+
55% {
793+
right: 2px;
794+
}
795+
100% {
796+
right: 150px;
797+
left: 2px;
798+
}
799+
}
800+
`,
755801
},
756802
{
757803
id: "toggleBallSlider2Xqr",

0 commit comments

Comments
 (0)