Created
September 16, 2018 12:51
-
-
Save spemer/417bd94f0e1c0e18743d32899dc016ba to your computer and use it in GitHub Desktop.
vue-rippler / style.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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