Skip to content

Commit

Permalink
[css-images-4] I added two png images to example 33 to the stripes() …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
celestaria authored and fantasai committed Dec 19, 2023
1 parent 0c8cf09 commit 761221b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css-images-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@ Color Stop “Fixup”</h4>
giving red 1 share and green 2 shares of the 300px remaining
after subtracting blue's 100px from the 400px total.

<img src="images/stripes-example-33-1.png" style="height:1em; width:400px;" alt="">
<img src="images/stripes-example-33-1.png" style="height:1em; width:400px;" alt="example 1">

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

<img src="images/example33-2.png" style="height: 1em; width:400px;" alt="">
<img src="images/example33-2.png" style="height: 1em; width:400px;" alt="example 2">

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

0 comments on commit 761221b

Please sign in to comment.