minor fixes
This commit is contained in:
parent
27af482dd8
commit
934d32be5b
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ The `opacity` property also never causes Layout (also skips Paint in Gecko). We
|
|||
|
||||
Paring `transform` with `opacity` can usually solve most of our needs, providing fluid, good-looking animations.
|
||||
|
||||
For example, here clicking on the `#boat` element adds the class with `transform: translateX(300)` and `opacity: 0`, thus making it move `300px` to the right and fade out:
|
||||
For example, here clicking on the `#boat` element adds the class with `transform: translateX(300)` and `opacity: 0`, thus making it move `300px` to the right and disappear:
|
||||
|
||||
```html run height=260 autorun no-beautify
|
||||
<img src="https://js.cx/clipart/boat.png" id="boat">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue