CSS Grid Explained
CSS Grid is revolutionizing the frontend web-design industry.
For the last 20 years, web designers have used CSS to lay out web pages. However, CSS has always been missing some key functionality. Designers had to rely on workarounds, such as tables, floats, and positioning. CSS Grid is different and better.
CSS Grid allows you to create a grid-based layout system, using columns and rows. You don't have to use any workarounds. You don't have to use different hacks for different browsers. You don't have to install any extra frameworks.
CSS Grid has been around since 2011, but has recently exploded in popularity. Almost all major browsers support CSS Grid. The only exceptions are Internet Explorer 11 and Opera Mini.
In this short book, you are going to master the key ideas behind CSS Grid.
In the first chapter, we start with the basic terminology. You'll learn the difference between Grid Areas and Grid Cells, between Grid Tracks and Grid Gaps.
Then, using a hands-on approach, you'll start building CSS Grids. You'll build everything from the most basic CSS Grid to a full site layout.
CSS Grid Explained Table of Contents
- Introduction to CSS Grid Terminology
- Creating Your First CSS Grid
- Using the Firefox Grid Inspector
- How to Create Explicit and Implicit Grids
- How to Use the Autoflow Property in CSS Grid
- How to Use the FR Unit For Layouts
- How to Size Tracks with the Auto Keyword
- How to Size Grid Items with the Span Keyword
- How to Use Line Numbers in CSS Grid
- How to Layer Items In CSS Grid
- How to Use Line Names in CSS Grid
- How to Place Items with Grid Template Areas
- How to Use the minmax() Function
- How to Use the auto-fill and auto-fit Keywords
- The grid-auto-flow: dense Property
- How to Align Items in CSS Grid
- The justify-content and align-content Properties
- How to Nest Grids
- Created: 2020-04-21
- Changed: 2020-04-21
- Size: 18.215 KB
- Views: 86
- Downloads: 0
15 $»» Free with active subscription