fix(challenges): Fix typo issue on CSS Grid:Minmax (#17027)
the example explains that grid-template-columns: 100px minmax(50px, 200px) is set to create three columns when in fact it is only set to create two columns.pull/17037/head
parent
ee103923ad
commit
5118a60491
|
@ -929,7 +929,7 @@
|
|||
"description": [
|
||||
"There's another built-in function to use with <code>grid-template-columns</code> and <code>grid-template-rows</code> called <code>minmax</code>. It's used to limit the size of items when the grid container changes size. To do this you need to specify the acceptable size range for your item. Here is an example:",
|
||||
"<blockquote>grid-template-columns: 100px minmax(50px, 200px);</blockquote>",
|
||||
"In the code above, <code>grid-template-columns</code> is set to create three columns; the first is 100px wide, and the second has the minimum width of 50px and the maximum width of 200px.",
|
||||
"In the code above, <code>grid-template-columns</code> is set to create two columns; the first is 100px wide, and the second has the minimum width of 50px and the maximum width of 200px.",
|
||||
"<hr>",
|
||||
"Using the <code>minmax</code> function, replace the <code>1fr</code> in the <code>repeat</code> function with a column size that has the minimum width of <code>90px</code> and the maximum width of <code>1fr</code>, and resize the preview panel to see the effect."
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue