Skip to content

Commit 7cfbbd5

Browse files
committed
Slightly improve example to make the case it illustrates clearer.
1 parent 49b9ddd commit 7cfbbd5

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

css-variables/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,9 @@ <h2 id=defining-variables><span class=secno>2. </span> Defining Variables
408408
}</pre>
409409

410410
<p> The ‘<code class=property>var-accent-background</code>’ property
411-
will automatically update when the ‘<code
412-
class=property>var-main-color</code>’ property is changed.
411+
(along with any other properties that use ‘<code
412+
class=css>$main-color</code>’) will automatically update when the
413+
<code class=property>var-main-color</code>’ property is changed.
413414
</div>
414415

415416
<div class="example invalid-example">

css-variables/Overview.src.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ <h2 id="defining-variables">
266266
}</pre>
267267

268268
<p>
269-
The 'var-accent-background' property will automatically update when the 'var-main-color' property is changed.
269+
The 'var-accent-background' property
270+
(along with any other properties that use ''$main-color'')
271+
will automatically update when the 'var-main-color' property is changed.
270272
</div>
271273

272274
<div class='example invalid-example'>

0 commit comments

Comments
 (0)