Skip to content

Commit be22567

Browse files
Vineeth T RVineeth T R
Vineeth T R
authored and
Vineeth T R
committed
spin 290
1 parent bedc051 commit be22567

File tree

9 files changed

+2123
-3213
lines changed

9 files changed

+2123
-3213
lines changed

css/workshop.css

Lines changed: 4 additions & 1570 deletions
Large diffs are not rendered by default.

js/loaders/bubble.js

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,115 @@ export const BUBBLE = [
610610
@keyframes moveX {
611611
100% {transform:translate(0.15px)}
612612
}
613+
`,
614+
},
615+
{
616+
id: "ball#flRbc",
617+
html: `<span class="loader"></span>`,
618+
css: `.loader {
619+
position: relative;
620+
width: 100px;
621+
height: 16px;
622+
}
623+
.loader:before , .loader:after{
624+
content: "";
625+
position: absolute;
626+
width: 16px;
627+
height: 16px;
628+
border-radius: 50%;
629+
background: #fff;
630+
box-shadow: 32px 0 #fff;
631+
left: 0;
632+
top: 0;
633+
animation: ballMoveX 1s linear infinite;
634+
}
635+
.loader:after {
636+
box-shadow: none;
637+
transform-origin: 40px 0;
638+
transform: rotate(-153deg);
639+
animation: rotateLoader 1s linear infinite;
640+
}
641+
642+
@keyframes rotateLoader {
643+
0% , 10%{ transform: rotate(-153deg); }
644+
90%, 100% { transform: rotate(0deg); }
645+
}
646+
@keyframes ballMoveX {
647+
0% , 10%{ transform: translateX(0) }
648+
90%, 100% { transform: translateX(32px) }
649+
}
650+
`,
651+
},
652+
653+
{
654+
id: "ball4puncUp",
655+
html: `<span class="loader"></span>`,
656+
css: `.loader {
657+
animation: rotate 1s infinite;
658+
height: 50px;
659+
width: 50px;
660+
}
661+
662+
.loader:before,
663+
.loader:after {
664+
border-radius: 50%;
665+
content: "";
666+
display: block;
667+
height: 20px;
668+
width: 20px;
669+
}
670+
.loader:before {
671+
animation: ball1 1s infinite;
672+
background-color: #fff;
673+
box-shadow: 30px 0 0 #ff3d00;
674+
margin-bottom: 10px;
675+
}
676+
.loader:after {
677+
animation: ball2 1s infinite;
678+
background-color: #ff3d00;
679+
box-shadow: 30px 0 0 #fff;
680+
}
681+
682+
@keyframes rotate {
683+
0% { transform: rotate(0deg) scale(0.8) }
684+
50% { transform: rotate(360deg) scale(1.2) }
685+
100% { transform: rotate(720deg) scale(0.8) }
686+
}
613687
688+
@keyframes ball1 {
689+
0% {
690+
box-shadow: 30px 0 0 #ff3d00;
691+
}
692+
50% {
693+
box-shadow: 0 0 0 #ff3d00;
694+
margin-bottom: 0;
695+
transform: translate(15px, 15px);
696+
}
697+
100% {
698+
box-shadow: 30px 0 0 #ff3d00;
699+
margin-bottom: 10px;
700+
}
701+
}
702+
703+
@keyframes ball2 {
704+
0% {
705+
box-shadow: 30px 0 0 #fff;
706+
}
707+
50% {
708+
box-shadow: 0 0 0 #fff;
709+
margin-top: -20px;
710+
transform: translate(15px, 15px);
711+
}
712+
100% {
713+
box-shadow: 30px 0 0 #fff;
714+
margin-top: 0;
715+
}
716+
}
614717
`,
615718
},
719+
720+
721+
616722

617723
{
618724
id: "jk3s5paxg1",

0 commit comments

Comments
 (0)