react-spinkit
Version:
A collection of loading indicators animated with CSS for React
33 lines (28 loc) • 675 B
CSS
.wordpress {
background: #333;
width: 27px;
height: 27px;
display: inline-block;
border-radius: 27px;
position: relative;
-webkit-animation: inner-circle 1s linear infinite;
animation: inner-circle 1s linear infinite;
}
.inner-circle {
display: block;
background: #fff;
width: 8px;
height: 8px;
position: absolute;
border-radius: 8px;
top: 5px;
left: 5px;
}
@-webkit-keyframes inner-circle {
0% { -webkit-transform: rotate(0); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes inner-circle {
0% { transform: rotate(0); -webkit-transform:rotate(0); }
100% { transform: rotate(360deg); -webkit-transform:rotate(360deg); }
}