Skip to content

Commit 9c07c5b

Browse files
authored
Merge pull request #3649 from qadzek/patch-1
Add missing words
2 parents c98ec82 + 52e184c commit 9c07c5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ The `opacity` property also never triggers Layout (also skips Paint in Mozilla G
463463

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

466-
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:
466+
For example, here clicking on the `#boat` element adds the class with `transform: translateX(300px)` and `opacity: 0`, thus making it move `300px` to the right and disappear:
467467

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

7-animation/3-js-animation/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,4 +452,4 @@ Surely we could improve it, add more bells and whistles, but JavaScript animatio
452452

453453
JavaScript animations can use any timing function. We covered a lot of examples and transformations to make them even more versatile. Unlike CSS, we are not limited to Bezier curves here.
454454

455-
The same is about `draw`: we can animate anything, not just CSS properties.
455+
The same is true about `draw`: we can animate anything, not just CSS properties.

0 commit comments

Comments
 (0)