JSFiddle - React, Tailwind, and code Playground
by Сергей Тарасевич
HTML
<div class="bubblingG">
<span id="bubblingG_1"></span>
<span id="bubblingG_2"></span>
<span id="bubblingG_3"></span>
</div>
CSS
.bubblingG {
text-align: center;
width:80px;
height:50px;
}
.bubblingG span {
display: inline-block;
vertical-align: middle;
width: 10px;
height: 10px;
margin: 25px auto;
background: #ff0055;
-moz-border-radius: 10px;
-moz-animation: bubblingG 1.3s infinite alternate;
-webkit-border-radius: 10px;
-webkit-animation: bubblingG 1.3s infinite alternate;
-ms-border-radius: 10px;
-ms-animation: bubblingG 1.3s infinite alternate;
-o-border-radius: 10px;
-o-animation: bubblingG 1.3s infinite alternate;
border-radius: 10px;
animation: bubblingG 1.3s infinite alternate;
}
#bubblingG_1 {
-moz-animation-delay: 0s;
-webkit-animation-delay: 0s;
-ms-animation-delay: 0s;
-o-animation-delay: 0s;
animation-delay: 0s;
}
#bubblingG_2 {
-moz-animation-delay: 0.39s;
-webkit-animation-delay: 0.39s;
-ms-animation-delay: 0.39s;
-o-animation-delay: 0.39s;
animation-delay: 0.39s;
}
#bubblingG_3 {
-moz-animation-delay: 0.78s;
-webkit-animation-delay: 0.78s;
-ms-animation-delay: 0.78s;
-o-animation-delay: 0.78s;
animation-delay: 0.78s;
}
@-moz-keyframes bubblingG {
0% {
width: 10px;
height: 10px;
background-color:#ff0055;
-moz-transform: translateY(0);
}
100% {
width: 24px;
height: 24px;
background-color:#FFFFFF;
-moz-transform: translateY(-21px);
}
}
@-webkit-keyframes bubblingG {
0% {
width: 10px;
height: 10px;
background-color:#ff0055;
-webkit-transform: translateY(0);
}
100% {
width: 24px;
height: 24px;
background-color:#FFFFFF;
-webkit-transform: translateY(-21px);
}
}
@-ms-keyframes bubblingG {
0% {
width: 10px;
height: 10px;
background-color:#ff0055;
-ms-transform: translateY(0);
}
100% {
width: 24px;
height: 24px;
...