Skip to content

Commit 761221b

Browse files
francescornfantasai
authored andcommitted
[css-images-4] I added two png images to example 33 to the stripes() function. I resized each of image to 1em, and added a border on the left and also on the right in the second example in transparent.
1 parent 0c8cf09 commit 761221b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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/stripes-example-33-1.png" style="height:1em; width:400px;" alt="">
2039+
<img src="images/stripes-example-33-1.png" style="height:1em; width:400px;" alt="example 1">
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/example33-2.png" style="height: 1em; width:400px;" alt="">
2052+
<img src="images/example33-2.png" style="height: 1em; width:400px;" alt="example 2">
20532053

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

0 commit comments

Comments
 (0)