Hacker News new | ask | show | jobs
by mjibson 3791 days ago
Having previously built some medium-sized apps with bootstrap and material, this is something I'd like to try for my next project. It looks simpler than either of those other two, and has enough other stuff to make it usable out of the box, unlike something like skeleton which was too minimalist for me to use easily.

I haven't used flexbox ever myself. Could someone summarize why flexbox makes this framework effective?

2 comments

Flexbox layouts "work like you think they work" for the most part, which is really nice, and far better than their predecessors.

The 3 "holy shit we needed this before!" features IMO are: vertical centering, height matching (if you have 3 columns in a row, and one has more text, all 3 columns will have the same bottom position), and the ability to evenly distribute objects across space.

check this out for more: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

caveat: flexbox support, while passably good, is still shaky in places.

the ability to dynamically fill the remaining space is also huge.
"Could someone summarize why flexbox makes this framework effective?"

Ever tried to center something vertically? Flex box does it easily. Is also makes it easier to do responsive layouts, with much simpler markup and styling.