CSS Grids may reduce your need for media queries
CSS Grid is the most critical layout feature to come to browsers since Flexbox. It allows us to escape some of the magic numbers, hacks, and workarounds that we ’ve grown accustomed to using for the last 15 years. It brings simplicity to declaring layouts that will tear a chunk out of most of the major CSS frameworks, and reduce bloat in our own hand crafted styles.
If you’re not familiar with what CSS Grid is, and you’ve made it this far, it ’s a layout tool that applies to a containing element which then manages how the child elements are spaced, sized, and aligned.
CSS Grid gives us powerful new abilities—most notably for layout to be aware of both horizontal and vertical space at the same time, for changes to layout not to impact markup, and the ability adapt to available space without the need for media queries.
Read more from the source: Campaign Monitor Engineering