Last active
October 19, 2019 10:38
-
-
Save yakuzaaaa/a5f4fd2bcb0005822c8542881879819a to your computer and use it in GitHub Desktop.
This file contains 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
.shimmer-background { | |
animation-duration: 1s; | |
animation-fill-mode: forwards; | |
animation-iteration-count: infinite; | |
animation-name: placeHolderShimmer; | |
animation-timing-function: linear; | |
background: #f6f7f9; | |
background-image: linear-gradient(to right, #f6f7f9 20%, #e9ebee 40%, #f6f7f9 60%, #f6f7f9 100%); | |
background-repeat: no-repeat; | |
background-size: 800px 100%; | |
} | |
@keyframes placeHolderShimmer { | |
0% { | |
background-position: -468px 0; | |
} | |
100% { | |
background-position: 468px 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment