Browse Source

Correct the CSS example for 'appear' transition

Move transition from `.example-appear` to `.example-appear.example-appear-active`
main
Matt 9 years ago
parent
commit
0fedf90eb4
  1. 2
      docs/10.1-animation.md

2
docs/10.1-animation.md

@ -101,11 +101,11 @@ During the initial mount `ReactCSSTransitionGroup` will get the `example-appear`
```css ```css
.example-appear { .example-appear {
opacity: 0.01; opacity: 0.01;
transition: opacity .5s ease-in;
} }
.example-appear.example-appear-active { .example-appear.example-appear-active {
opacity: 1; opacity: 1;
transition: opacity .5s ease-in;
} }
``` ```

Loading…
Cancel
Save