Skip to content

Commit 27af482

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

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
@@ -505,7 +505,7 @@ Limitations of CSS animations compared to JavaScript animations:
505505
- Not just property changes. We can create new elements in JavaScript as part of the animation.
506506
```
507507

508-
In earlier examples in this chapter, we animate `font-size`, `left`, `width`, `height`, etc. In real life projects, we should use `transform: scale()` and `transform: translate()` for better performance.
508+
In early examples in this chapter, we animate `font-size`, `left`, `width`, `height`, etc. In real life projects, we should use `transform: scale()` and `transform: translate()` for better performance.
509509

510510
The majority of animations can be implemented using CSS as described in this chapter. And the `transitionend` event allows JavaScript to be run after the animation, so it integrates fine with the code.
511511

0 commit comments

Comments
 (0)
Failed to load comments.