mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #460 from chenglou/opacity-1
fix doc & example transition opacity from .99 to 1
This commit is contained in:
@@ -67,7 +67,7 @@ You can use these classes to trigger a CSS animation or transition. For example,
|
||||
}
|
||||
|
||||
.example-enter.example-enter-active {
|
||||
opacity: 0.99;
|
||||
opacity: 1;
|
||||
}
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ You'll notice that when you try to remove an item `ReactTransitionGroup` keeps i
|
||||
|
||||
```css
|
||||
.example-leave {
|
||||
opacity: 0.99;
|
||||
opacity: 1;
|
||||
transition: opacity .5s ease-in;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
.example-enter.example-enter-active,
|
||||
.example-leave {
|
||||
margin-left: 0;
|
||||
opacity: 0.99;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.animateExample {
|
||||
|
||||
Reference in New Issue
Block a user