Skip to content

Instantly share code, notes, and snippets.

@DmitryOlkhovoi
Created January 21, 2020 10:49
Show Gist options
  • Save DmitryOlkhovoi/59409a462a606eb03c95d7d9616b6aa9 to your computer and use it in GitHub Desktop.
Save DmitryOlkhovoi/59409a462a606eb03c95d7d9616b6aa9 to your computer and use it in GitHub Desktop.
.with-ripple {
@apply relative overflow-hidden;
@keyframes ripple {
to {
@apply opacity-0;
transform: scale(2.5);
}
}
.ripple {
@apply absolute;
z-index: 1;
border-radius: 50%;
background-color: var(--grey04);
transform: scale(0);
animation: ripple 0.6s linear;
}
&.primary {
.ripple {
background-color: var(--black02);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment