Getting perfect Ripple effect using CSS


Material design brought us various good things and ripple effects in buttons is one of them. Now, I am not an article writer. I am a person who can write code, so let’s start it. Step 1. Copy this code and paste it into seperate css file. .ripple { position: relative; overflow: hidden; transform: translate3d(0, 0, 0); } .ripple:after { content: ""; display: block; position: absolute; width:...

Most common tags