Putting the Flexbox Albatross to Real Use

added by JavaScript Kicks
1/25/2019 8:10:55 AM


If you hadn't seen it, Heydon posted a rather clever flexbox layout pattern that, in a sense, mimics what you could do with a container query by forcing an element to stack at a certain container width. I was particularly interested, as I was fighting a little layout situation at the time I saw this and thought it could be a solution.