Skip to content

Commit 4800d05

Browse files
committed
[css-will-change] Fix example.
1 parent 5fd5cc0 commit 4800d05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-will-change/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Don't Spam 'will-change' Across Too Many Properties or Elements</h4>
5252

5353
A common initial response to seeing 'will-change' is to assume that code like this is a good idea:
5454

55-
<pre>* { will-change: all; }</pre>
55+
<pre>* { will-change: transform, opacity /* , ... */; }</pre>
5656

5757
After all, this tells the browser to go ahead and optimize everything,
5858
which has to be good right?

0 commit comments

Comments
 (0)