Simulate a material design ripple effect on buttons for user feedback.
Source Code
.button::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
transform: translate(-50%, -50%);
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transition: width 0.4s ease, height 0.4s ease;
}
.button:hover::after {
width: 300%;
height: 300%;
}