Created
April 12, 2020 21:56
-
-
Save paigen11/47b831a8c2b209b09ff8cd3c67981cec to your computer and use it in GitHub Desktop.
Sample CSS code of React Transition Group's TransitionGroup component
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
.remove-btn { | |
margin-right: 0.5rem; | |
} | |
.chore-enter { | |
opacity: 0; | |
} | |
.chore-enter-active { | |
opacity: 1; | |
transition: opacity 500ms ease-in; | |
} | |
.chore-exit { | |
opacity: 1; | |
} | |
.chore-exit-active { | |
opacity: 0; | |
transition: opacity 500ms ease-in; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment