Book description
Learn the basics and advanced aspects by creating a project using CSS Grid and dive into the specifications of using CSS grid concepts
Key Features
- Explore the differences between grid boxes and block containers to enhance your web design knowledge
- Create block-level grids, inline grids, and nested grids to create responsive layouts
- Adopt best practices for attaching elements to your layout by using explicitly defined grid lines or grid areas
Book Description
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.
What you will learn
- Improve your skills with basic and advanced CSS Grid concepts
- Use flexbox and CSS Grid play together to create beautiful responsive layouts
- Explore advanced grid layouts and how they can benefit your next project
- How frameworks use CSS Grid to create reusable components
- Learn the benefits of grid layouts and create beautiful websites
- Create your own polyfills and understand when not to use grid layouts
- Build responsive and usable web project using CSS Grid
Who this book is for
This book is for web developers and designers who want to learn CSS Grid and improve their layout design skills. This book will also be a valuable resource for CSS developers seeking to advance their skills to the most proficient level. Additionally, this book will serve as an excellent guide for those who wish to expand their toolset to include flexbox and grids.
Table of contents
- Mastering CSS Grid
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1–Working with CSS Grid
- Chapter 1: Understanding the Basic Rules and Structures for CSS Grid
- Chapter 2: Project Introduction: What We’ll Work on and First Tasks
- Chapter 3: Building Advanced Grid Layouts
- Part 2 – Understanding the CSS Grid Periphery
-
Chapter 4: Understanding and Creating Responsive and Fluid Grid Layouts
- Technical requirements
- Understanding the challenges of designing layouts
- Understanding the difference between adaptive, responsive, and fluid layouts
- Learning responsive layout best practices
- Implementing responsive and fluid layouts with CSS Grid
- Practicing responsive layouts with Awesome Analytics
- Summary
- Chapter 5: Implementing Layouts with Flexbox and CSS Grid
- Chapter 6: Benefits of Grid Layouts and When Not to Use Them
- Part 3 – Exploring the Wider Ecosystem
- Chapter 7: Polyfilling CSS Grid’s Missing Features
-
Chapter 8: Grids in the Wild – How Frameworks Implement Grids
- Technical requirements
- Learning how Tailwind implements grids
- Learning how Bootstrap implements grids
- Learning how Foundation implements grids
- Learning how Bulma.io implements grids
- Learning how UIkit implements grids
- Learning how Pure.css implements grids
- Learning how Tachyons implements grids
- Learning how Cutestrap implements grids
- Learning how other frameworks don’t implement grids
- Practising Bootstrap and Tailwind frameworks with AwesomeAnalytics
- Summary
- Part 4 – A Quick Reference
- Chapter 9: Quick Reference and Cheat Sheet
- Index
- Other Books You May Enjoy
Product information
- Title: Mastering CSS Grid
- Author(s):
- Release date: June 2023
- Publisher(s): Packt Publishing
- ISBN: 9781804614846
You might also like
video
CSS - The Complete Guide (incl. Flexbox, Grid and Sass)
Every web developer has to know CSS. CSS, short for Cascading Style Sheets, is a "programming …
book
Modern CSS: Master the Key Concepts of CSS for Modern Web Development
Come on a tour of “modern” CSS in 2020. This example-driven book demonstrates the concepts by …
book
Tiny CSS Projects
CSS is a must-know language for all web developers. In this practical book, you’ll explore numerous …
video
CSS Bootcamp: Master CSS (Including CSS Grid/Flexbox)
If you want to learn how to create modern real-world websites using pure CSS, then this …