animated rings expanding with delay ripple water effects

just testing this one

HTML

<div class="css-ripple">
  <div class="css-ripples"></div>
  <div class="css-ripples"></div>
  <div class="css-ripples"></div>
</div>

CSS

.css-ripple {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: 50%;
    margin-bottom: 1rem;
  	min-height: 700px;
}

.css-ripples {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 10px solid white;
    width: 150px;
    height: 150px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-animation: ripple 2s infinite;
    animation: ripple 2s infinite;
}
.css-ripple > div:nth-of-type(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.css-ripple > div:nth-of-type(3) {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

@keyframes ripple {0%{width:150px;height:150px;border:40px solid white;opacity:0;}50%{opacity:.1;}90%{width:750px;height:750px;border:2px solid white;opacity:0;}100%{width:1500px;height:1500px;border:2px solid white;opacity:0;}}

Other Items in css

No Items Found.

Add Comment
Type in a Nick Name here
 
Page Views

This page has been viewed 427 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

โค๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ•น

Random Quote
Even if you fall on your face, you're still moving forward.
Victor Kiam