<div class="rim1"></div>
<div class="rim2"></div>
<div class="rim3"></div>
body {
background: skyblue;
perspective: 0px;
}
.rim1, .rim2, .rim3{
position: absolute;
top: 50%;
left: 50%;
border-radius: 50%;
width: 0em;
height: 0em;
border: white .5em solid;
background: skyblue;
}
.rim1 {
animation: expand 2s linear infinite;
}
.rim2 {
animation: expand 2s linear .5s infinite;
}
.rim3 {
animation: expand 2s linear 1s infinite;
}
@-webkit-keyframes expand {
0% {
top: calc(50% - .5em);
left: calc(50% - .5em);
width: 1em;
height: 1em;
border: white .25em solid;
opacity: 1;
}
100% {
top: calc(50% - 5.5em);
left: calc(50% - 5.5em);
width: 11em;
height: 11em;
border: white .5em solid;
opacity: 0;
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.