A CSS tutorial showing how to build a responsive grid that adds columns up to a maximum of three, using nth-child selectors. It also covers adapting the layout to small screens and simplifying the code with Sass.
What you’ll learn
✓Limit a CSS grid to a maximum number of columns using nth-child