1
0
mirror of https://github.com/cjcenizal/flexbox-patterns.git synced 2025-01-16 20:08:17 +01:00

Fix: flex-grow default value is 0 and flex-shrink default value is 1

This commit is contained in:
RoberMac 2016-04-23 10:33:31 +08:00
parent ac3799a277
commit 9b5c57a4d2
2 changed files with 4 additions and 4 deletions

4
dist/styles.css vendored
View File

@ -568,11 +568,11 @@
*
* We'll also set flex-grow to 1 so that it
* 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
* 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
* size is solely determined by the size of

View File

@ -19,11 +19,11 @@
*
* We'll also set flex-grow to 1 so that it
* 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
* 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
* size is solely determined by the size of