Skip to content

Commit 934d32b

Browse files
committedJun 24, 2021
minor fixes
1 parent 27af482 commit 934d32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎7-animation/2-css-animations/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ The `opacity` property also never causes Layout (also skips Paint in Gecko). We
443443

444444
Paring `transform` with `opacity` can usually solve most of our needs, providing fluid, good-looking animations.
445445

446-
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:
446+
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:
447447

448448
```html run height=260 autorun no-beautify
449449
<img src="https://js.cx/clipart/boat.png" id="boat">

0 commit comments

Comments
 (0)
Failed to load comments.