mirror of
https://github.com/cjcenizal/flexbox-patterns.git
synced 2025-08-04 15:17:34 +02:00
Fix: flex-grow default value is 0 and flex-shrink default value is 1
This commit is contained in:
4
dist/styles.css
vendored
4
dist/styles.css
vendored
@@ -568,11 +568,11 @@
|
|||||||
*
|
*
|
||||||
* We'll also set flex-grow to 1 so that it
|
* We'll also set flex-grow to 1 so that it
|
||||||
* will expand to fill its container. (The
|
* will expand to fill its container. (The
|
||||||
* default value is 1.)
|
* default value is 0.)
|
||||||
*
|
*
|
||||||
* We'll set flex-shrink to 1 so that the element
|
* We'll set flex-shrink to 1 so that the element
|
||||||
* will shrink as its container gets smaller.
|
* will shrink as its container gets smaller.
|
||||||
* (The default value is 0.)
|
* (The default value is 1.)
|
||||||
*
|
*
|
||||||
* Last, we set flex-basis to 0 so that its
|
* Last, we set flex-basis to 0 so that its
|
||||||
* size is solely determined by the size of
|
* size is solely determined by the size of
|
||||||
|
@@ -19,11 +19,11 @@
|
|||||||
*
|
*
|
||||||
* We'll also set flex-grow to 1 so that it
|
* We'll also set flex-grow to 1 so that it
|
||||||
* will expand to fill its container. (The
|
* will expand to fill its container. (The
|
||||||
* default value is 1.)
|
* default value is 0.)
|
||||||
*
|
*
|
||||||
* We'll set flex-shrink to 1 so that the element
|
* We'll set flex-shrink to 1 so that the element
|
||||||
* will shrink as its container gets smaller.
|
* will shrink as its container gets smaller.
|
||||||
* (The default value is 0.)
|
* (The default value is 1.)
|
||||||
*
|
*
|
||||||
* Last, we set flex-basis to 0 so that its
|
* Last, we set flex-basis to 0 so that its
|
||||||
* size is solely determined by the size of
|
* size is solely determined by the size of
|
||||||
|
Reference in New Issue
Block a user