Created
March 30, 2018 06:12
-
-
Save mpolinowski/94a2e4b1120eeb56c056ba40532bd7ff to your computer and use it in GitHub Desktop.
Using fade-in Animation in Glamor
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
let fadein = css.keyframes({ | |
'0%': { opacity: 0 }, | |
'100%': { opacity: 1 } | |
}) | |
let lazyload = css({ | |
animation: `${fadein} 2s`, | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment