Book Image

Mastering CSS Grid

By : Pascal Thormeier
4.3 (3)
Book Image

Mastering CSS Grid

4.3 (3)
By: Pascal Thormeier

Overview of this book

CSS Grid has revolutionized web design by filling a long-existing gap in creating real, dynamic grids on the web. This book will help you grasp these CSS Grid concepts in a step-by-step way, empowering you with the knowledge and skills needed to design beautiful and responsive grid-based layouts for your web projects. This book provides a comprehensive coverage of CSS Grid by taking you through both fundamental and advanced concepts with practical exercises. You'll learn how to create responsive layouts and discover best practices for incorporating grids into any design. As you advance, you'll explore the dynamic interplay between CSS Grid and flexbox, culminating in the development of a usable responsive web project as a reference for further improvement. You'll also see how frameworks utilize CSS Grid to construct reusable components and learn to rebuild and polyfill CSS Grid for browsers that don't fully support it yet. The concluding chapters include a quick reference and cheat sheet, making this book an indispensable resource for frontend developers of all skill levels. By the end of this book, you'll have thoroughly explored all aspects of CSS Grid and gained expert-level proficiency, enabling you to craft beautiful and functional layouts for web projects of any size.
Table of Contents (16 chapters)
Part 1–Working with CSS Grid
Part 2 – Understanding the CSS Grid Periphery
Part 3 – Exploring the Wider Ecosystem
Part 4 – A Quick Reference


We’ve seen a few frameworks that use CSS Grid to implement grid systems, but most frameworks we discussed still use Flexbox. These grid systems offer structure and ease of development, but there is a trend to ditch them in favor of using the now widespread CSS Grid.

This chapter concludes our in-depth study of CSS Grid and its various use cases. We’ve discussed the basics, taking our first steps with the rather whacky example of AwesomeAnalytics, as well as design challenges, responsiveness, and several alternatives to grids.

We’ve discussed the pros and cons, how CSS Grid and Flexbox can work together, and how we can take advantage of PostCSS and JS to understand what it takes to implement new features in CSS Grid.

In the following chapter, we will have a brief overview of all topics once again and get a handy list of all features of CSS Grid, how to use it to achieve specific often-used patterns, understand the dos and don’ts of designing...