6 Matching Annotations
- Dec 2023
-
www.joshwcomeau.com www.joshwcomeau.com
-
I think this is one of those situations where it's easy to confuse “familiar” with “simple”. You're probably much more comfortable with min-width than flex-shrink, but that doesn't mean flex-shrink is more complicated!
-
- Jan 2019
- Jun 2018
-
-
f no flex-basis is specified, then the flex-basis falls back to the item’s width property. If no width is specified, then the flex-basis falls back to the computed width of the item’s contents.
key point!
-
- Oct 2016
-
brianyang.com brianyang.com
-
- browser prefixes broke things so now they're flags
- flexbox for 1 dimension
- grids for two dimension
-
- Mar 2016
-
www.w3.org www.w3.org
-
<!-- flex item: anonymous block box around inline content --> anonymous item 3
In this case, text nodes inside a
flex
element will automatically be wrapped in a block box, so:<div style="display:flex">Some text</div>
Is the same as writing
<div style="display:flex"><div>Some text</div></div>
-
- Feb 2016
-
jakearchibald.com jakearchibald.com
-
Good explanation of why flexbox is not always the answer.
-