“Element queries are a new way of thinking about responsive web design where the responsive conditions apply to elements on the page instead of the width or height of the browser.
Unlike CSS @media queries, @element Queries are aware of more than just the width and height of the browser, you can write responsive conditions for a number of different situations like how many characters of text or child elements an element contains.
And another website dealing with Flexbox patterns.
“Flexbox is awesome, but it introduces many new concepts that can make it difficult to use. These interactive examples will show you practical ways to use it to build UI components. They start out simple and get more complex near the end. You can start using these patterns in your own code right away, though I recommend you apply accessibility best practices to the markup (like using semantic HTML5 elements).”
Solved by Flexbox is not framework, but a website that showcases how Flexbox makes many CSS hacks obsolete.
“This site is not another CSS framework. Instead, its purpose is to showcase problems once hard or impossible to solve with CSS alone, now made trivially easy with Flexbox. And with the recent release of Internet Explorer 11 and Safari 6.1, the latest Flexbox spec is now supported in every modern browser.”
Flexbox is here to stay and its time to start using it. Flexbox has more than 95% support globally, which matches support for calc and viewport units. Bootstrap 4 will be supporting it and my new website will be Flexbox based as well 🙂
Oh and if you need older browser support … use Flexibility.
Bulma is a modern CSS framework based on Flexbox. It provides a nice set of core functionality and almost every kind component you might need to build a quick skeleton for your project.