Skip to content

Commit 71f8a9e

Browse files
authored
Merge pull request #2693 from odsantos/css-animations-typo
Fix typo.
2 parents 7edd7c3 + d404087 commit 71f8a9e

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
@@ -433,7 +433,7 @@ The `transform` property is a great choice, because:
433433

434434
In other words, the browser calculates the Layout (sizes, positions), paints it with colors, backgrounds, etc at the Paint stage, and then applies `transform` to element boxes that need it.
435435

436-
Changes (animations) of the `transform` property never trigger Layout and Paint steps. More than that, the browser leverages the graphics accelerator (a special chip on the CPU or graphics card) for CSS transforms, thus making them very effecient.
436+
Changes (animations) of the `transform` property never trigger Layout and Paint steps. More than that, the browser leverages the graphics accelerator (a special chip on the CPU or graphics card) for CSS transforms, thus making them very efficient.
437437

438438
Luckily, the `transform` property is very powerful. By using `transform` on an element, you could rotate and flip it, stretch and shrink it, move it around, and [much more](https://developer.mozilla.org/docs/Web/CSS/transform#syntax). So instead of `left/margin-left` properties we can use `transform: translateX(…)`, use `transform: scale` for increasing element size, etc.
439439

0 commit comments

Comments
 (0)