Skip to content

Commit 2b05a62

Browse files
committed
[css-color-5] fits svg figures into landscape viewports
1 parent 84ba627 commit 2b05a62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-color-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ it applies to all color channels.
9494
Here is a top-down view, looking along the neutral L axis:
9595

9696
<figure>
97-
<img src="images/CH-mixing.svg" style="width: 50vw">
97+
<img src="images/CH-mixing.svg" style="width: 50vmin">
9898
<figcaption>Mixtures of peru and lightgoldenrod.
9999
Peru has a hue angle, measured from the positive a axis,
100100
of 63.677 degrees
@@ -127,7 +127,7 @@ it applies to all color channels.
127127
<pre class="lang-css">mix-color(red yellow 65%);</pre>
128128

129129
<figure>
130-
<img src="images/CH-mixing3.svg" style="width: 50vw">
130+
<img src="images/CH-mixing3.svg" style="width: 50vmin">
131131
<figcaption>Mixtures of red and yellow.
132132
Red has a hue angle, measured from the positive a axis,
133133
of 40.8526 degrees
@@ -187,7 +187,7 @@ are copied across from the first color.
187187
<pre class="lang-css">mix-color(lch(52% 58.1 22.7) lch(56% 49.1 257.1) hue(75.23%));</pre>
188188

189189
<figure>
190-
<img src="images/CH-mixing2.svg" style="width: 50vw">
190+
<img src="images/CH-mixing2.svg" style="width: 50vmin">
191191
<figcaption>Mixtures of a red and a sky blue.
192192
The red has a hue angle, measured from the positive a axis,
193193
of 22.7 degrees

0 commit comments

Comments
 (0)