spinner
by Andrey Izman
HTML
<div class="loading-spinner-container">
<div class="spinner-wrapper">
<div class="lds-ripple">
<div></div>
<div></div>
</div>
</div>
<div class="spinner-msg"></div>
</div>
CSS
* {
box-sizing: border-box;
margin: 0;
padding: 0;
outline-style: none !important;
}
.loading-spinner-container {
width: 100%;
float: left;
text-align: center;
}
.loading-spinner-container .spinner-wrapper,
.loading-spinner-container .spinner-msg {
width: auto;
margin: 0 auto;
display: table;
font-size: 12px;
font-weight: bold;
}
.lds-ripple {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ripple div {
border-color: rgb(158, 57, 0);
}
.lds-ripple div {
position: absolute;
border: 4px solid #ff8743;
opacity: 1;
border-radius: 50%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}