Re:Show HN: A visual guide to the most popular CSS properties
by wapz on Friday November 25, 2016 @12:33AM
(#13034594)
Thanks for the info. I did some simple CSS/HTML work a long time ago and never heard of flexbox (and it's everywhere on this page)
Re:Show HN: A visual guide to the most popular CSS properties
by Drdrdrq on Thursday November 24, 2016 @11:19PM
(#13034386)
+1 for linking to Complete Guide to Flexbox. This guide is really great!
Re:Show HN: A visual guide to the most popular CSS properties
by zem on Friday November 25, 2016 @03:15AM
(#13035044)
ooh, mixing fixed-width with expanding elements is exactly the thing i'm struggling with now. i'll look into converting from grid to flex based layout and see how that goes.
Re:Show HN: A visual guide to the most popular CSS properties
by pault on Friday November 25, 2016 @05:00AM
(#13035539)
You can also use calc(100% - [fixed container width]px) in a pinch.
Re:Show HN: A visual guide to the most popular CSS properties
by archildress on Friday November 25, 2016 @02:08PM
(#13039089)
Thanks so much, this makes sense!
They are supported in all self-updating browsers, so unless you have to support IE<=10 they are safe to use and extremely convenient. Replacing a classic grid-based layout with flexbox saves an astonishing amount of markup. I've been using it exclusively for the last six months or so.
I found this CSSTricks article helpful when I was building my first flexbox layouts: https://css-tricks.com/snippets/css/a-guide-to-flexbox/