8000 [css-images-4][editorial] Made stripes() example images 1em high · w3c/csswg-drafts@7f9191e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f9191e

Browse files
committed
[css-images-4][editorial] Made stripes() example images 1em high
1 parent e338858 commit 7f9191e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

css-images-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,7 @@ Color Stop “Fixup”</h4>
20362036
giving red 1 share and green 2 shares of the 300px remaining
20372037
after subtracting blue's 100px from the 400px total.
20382038

2039-
<img src="images/stripes1.svg" style="height:20px; width:400px;" alt="">
2039+
<img src="images/stripes1.svg" style="height:1em; width:400px;" alt="">
20402040

20412041
On the other hand,
20422042
''stripes(red .1fr, green .2fr, blue 100px)''
@@ -2049,7 +2049,7 @@ Color Stop “Fixup”</h4>
20492049
which is then distributed in the 1:2 ratio
20502050
dictated by the <<flex>> values.
20512051

2052-
<img src="images/stripes2.svg" style="height: 20px; width:400px;" alt="">
2052+
<img src="images/stripes2.svg" style="height:1em; width:400px;" alt="">
20532053

20542054
(This is similar to how [=flex layout=] deals with small <<flex>> sums on a line,
20552055
and ensures smoothly continuous behavior

css-images-4/images/stripes1.svg

Lines changed: 1 addition & 1 deletion
Loading

css-images-4/images/stripes2.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)
0