fix: penguin colors to match directions
This commit is contained in:
committed by
Kristofer Koishigawa
parent
66d84631ca
commit
0f4b8a9eaa
@ -5325,9 +5325,9 @@
|
||||
"contents": [
|
||||
"<style>",
|
||||
" .penguin {",
|
||||
" --penguin-skin: gray;",
|
||||
" --penguin-belly: white;",
|
||||
" --penguin-beak: orange;",
|
||||
" --penguin-skin: black;",
|
||||
" --penguin-belly: gray;",
|
||||
" --penguin-beak: yellow;",
|
||||
" position: relative;",
|
||||
" margin: auto;",
|
||||
" display: block;",
|
||||
|
@ -929,7 +929,7 @@
|
||||
"CSS flexbox has a feature to split a flex item into multiple rows (or columns). By default, a flex container will fit all flex items together. For example, a row will all be on one line.",
|
||||
"However, using the <code>flex-wrap</code> property, it tells CSS to wrap items. This means extra items move into a new row or column. The break point of where the wrapping happens depends on the size of the items and the size of the container.",
|
||||
"CSS also has options for the direction of the wrap:",
|
||||
"<ul><li><code>nowrap</code>: this is the default setting, and does not wrap items.</li><li><code>wrap</code>: wraps items from left-to-right if they are in a row, or top-to-bottom if they are in a column.</li><li><code>wrap-reverse</code>: wraps items from right-to-left if they are in a row, or bottom-to-top if they are in a column.</li></ul>",
|
||||
"<ul><li><code>nowrap</code>: this is the default setting, and does not wrap items.</li><li><code>wrap</code>: wraps items from left-to-right if they are in a row, or top-to-bottom if they are in a column.</li><li><code>wrap-reverse</code>: wraps items from bottom-to-top if they are in a row, or left-to-right if they are in a column.</li></ul>",
|
||||
"<hr>",
|
||||
"The current layout has too many boxes for one row. Add the CSS property <code>flex-wrap</code> to the <code>#box-container</code> element, and give it a value of wrap."
|
||||
],
|
||||
@ -1375,4 +1375,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user