Skip to content

Instantly share code, notes, and snippets.

@spemer
Created September 16, 2018 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spemer/417bd94f0e1c0e18743d32899dc016ba to your computer and use it in GitHub Desktop.
Save spemer/417bd94f0e1c0e18743d32899dc016ba to your computer and use it in GitHub Desktop.
vue-rippler / style.css
<style>
/*
play with some lines below
*/
[ripple] .ripple--container span {
-webkit-transform: scale(0);
transform: scale(0);
border-radius: 100%;
position: absolute;
opacity: 0.75 !important;
background-color: rgba(0, 0, 0, 0.1) !important;
-webkit-animation: ripple 1000ms;
animation: ripple 1000ms;
}
@-webkit-keyframes ripple {
to {
opacity: 0;
-webkit-transform: scale(2);
transform: scale(2);
}
}
@keyframes ripple {
to {
opacity: 0;
-webkit-transform: scale(2);
transform: scale(2);
}
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment