Mastering Responsive Web Design with HTML5
As the variety of screen sizes and devices keeps expanding, Responsive Web Design (RWD) has become a baseline expectation rather than a nice-to-have. When the first HTML and CSS specs were written, RWD was not a concern. Since then, a lot of work has gone into providing native ways to achieve it.
This article presents hands-on examples of common RWD tasks implemented with W3C modules: CSS Flexible Box, CSS Grid Layout, CSS Regions, CSS Multi-column Layout. It also covers position sticky, the srcset attribute, and WebP fallbacks.