Skip to content

Commit b68e99a

Browse files
committed
[css-values] Use a more interesting expansion for toggle() shorthand example.
1 parent 3f78924 commit b68e99a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

css-values/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,14 +1830,14 @@ Toggling Between Values: ''toggle()''</h3>
18301830
<div class="example">
18311831
For example, the following shorthand declaration:
18321832

1833-
<pre>margin: toggle(1px 2px, 3px 4px, 1px 5px);</pre>
1833+
<pre>margin: toggle(1px 2px, 4px, 1px 5px 3px);</pre>
18341834

18351835
is equivalent to the following longhand declarations:
18361836

18371837
<pre>
1838-
margin-top: toggle(1px, 3px, 1px);
1838+
margin-top: toggle(1px, 4px, 1px);
18391839
margin-right: toggle(2px, 4px, 5px);
1840-
margin-bottom: toggle(1px, 3px, 1px);
1840+
margin-bottom: toggle(1px, 4px, 3px);
18411841
margin-left: toggle(2px, 4px, 5px);
18421842
</pre>
18431843

0 commit comments

Comments
 (0)