mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-27 03:08:06 +00:00
Correct the CSS example for 'appear' transition
Move transition from `.example-appear` to `.example-appear.example-appear-active`
This commit is contained in:
@@ -101,11 +101,11 @@ During the initial mount `ReactCSSTransitionGroup` will get the `example-appear`
|
||||
```css
|
||||
.example-appear {
|
||||
opacity: 0.01;
|
||||
transition: opacity .5s ease-in;
|
||||
}
|
||||
|
||||
.example-appear.example-appear-active {
|
||||
opacity: 1;
|
||||
transition: opacity .5s ease-in;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user