From 29615889084f6d920488e44b65e2917326b542ff Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Thu, 24 Jun 2021 22:00:37 +0300 Subject: [PATCH] minor fixes --- 7-animation/2-css-animations/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7-animation/2-css-animations/article.md b/7-animation/2-css-animations/article.md index b0d7444d..bf1bacbb 100644 --- a/7-animation/2-css-animations/article.md +++ b/7-animation/2-css-animations/article.md @@ -425,7 +425,7 @@ The Layout step is by far the most expensive: geometry calculations take time, e **The general recomendation is to animate properties that don't do Layout.** -For most CSS properties, the rule is simple: if its change may affect geometry, move elements (even in theory), then it triggers Layout. Otherwise (e.g. a `color` change may not shift elements around), the browser directly goes to Paint. You can find a longer list of CSS properties and which stages they trigger at . +For most CSS properties, the rule is simple: if its change may affect geometry, move elements (even in theory), then it triggers Layout. Otherwise (e.g. a `color` change may not shift elements around), the browser doesn't need to calculate geometry and directly goes to Paint. You can find a longer list of CSS properties and which stages they trigger at . The `transform` property is a notable exception: - CSS transforms affect the target element box as a whole (rotate, flip, stretch, shift it).