Get Ready for CSS Grid Layout
()
About this ebook
By the time CSS Grid Layout was supported by all major browsers in 2017, Rachel Andrew had already thoroughly parsed the spec and, with the release of the first edition of Get Ready for CSS Grid Layout in 2016, helped legions of readers put the new two-dimensional layout system to work in their designs.
CSS Grid Layout, also known
Rachel Andrew
Rachel Andrew is editor-in-chief of Smashing Magazine and writes about the web platform for companies including Google and Mozilla. She is a member of the CSS Working Group where she is coeditor of the Multiple-column Layout specification.Rachel has been working on the web since 1996 and writing about the web for almost as long. She's written several books including Get Ready for CSS Grid Layout, the bestselling CSS Anthology from Sitepoint, and recent ventures into self-publishing have produced The Profitable Side Project Handbook and CSS3 Layout Modules, Second Edition. She is a regular columnist for A List Apart as well as other publications online and in print. When she's not writing, Rachel often works with other authors as a technical editor.Rachel is a keen distance runner who encourages people to join her for a run when attending conferences, with varying degrees of success!
Related to Get Ready for CSS Grid Layout
Related ebooks
CSS3 for Everyone: Second Edition Rating: 0 out of 5 stars0 ratingsThe New CSS Layout Rating: 0 out of 5 stars0 ratingsBootstrap for Rails Rating: 0 out of 5 stars0 ratingsLess Web Development Essentials Rating: 0 out of 5 stars0 ratings50 Recipes for Programming CSS3 Rating: 0 out of 5 stars0 ratingsUnleashing the Power of Astro Rating: 0 out of 5 stars0 ratingsSass and Compass for Designers Rating: 0 out of 5 stars0 ratingsAR and VR Using the WebXR API: Learn to Create Immersive Content with WebGL, Three.js, and A-Frame Rating: 0 out of 5 stars0 ratingsHTML5,CSS3,Javascript and JQuery Mobile Programming: Beginning to End Cross-Platform App Design Rating: 5 out of 5 stars5/5Modern CSS: Master the Key Concepts of CSS for Modern Web Development Rating: 0 out of 5 stars0 ratingsUnleashing the Power of CSS Rating: 0 out of 5 stars0 ratingsResponsive Web Design with HTML5 and CSS3 - Second Edition Rating: 4 out of 5 stars4/5CSS Grid Layout: 5 Practical Projects Rating: 0 out of 5 stars0 ratingsBabylon.js Essentials Rating: 0 out of 5 stars0 ratingsProfessional CSS3 Rating: 5 out of 5 stars5/5Creating ASP.NET Core Web Applications: Proven Approaches to Application Design and Development Rating: 0 out of 5 stars0 ratingsGetting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch Rating: 0 out of 5 stars0 ratingsYour First Week With Bootstrap Rating: 0 out of 5 stars0 ratingsDeveloping Web Components with TypeScript: Native Web Development Using Thin Libraries Rating: 0 out of 5 stars0 ratingsThe Easiest Way to Learn Design Patterns Rating: 0 out of 5 stars0 ratingsResponsive Web Design with HTML5 and CSS3 Rating: 4 out of 5 stars4/5Beginning CSS: Cascading Style Sheets for Web Design Rating: 4 out of 5 stars4/5CSS Mastery: Styling Web Pages Like a Pro Rating: 0 out of 5 stars0 ratingsLearning Three.js – the JavaScript 3D Library for WebGL - Second Edition Rating: 0 out of 5 stars0 ratingsMigrating ASP.NET Microservices to ASP.NET Core: By Example Rating: 0 out of 5 stars0 ratingsPro D3.js: Use D3.js to Create Maintainable, Modular, and Testable Charts Rating: 0 out of 5 stars0 ratingsJoe Celko's Trees and Hierarchies in SQL for Smarties Rating: 0 out of 5 stars0 ratingsLearn Angular: 4 Angular Projects Rating: 0 out of 5 stars0 ratingsCSS Master Rating: 0 out of 5 stars0 ratings
Programming For You
Python Programming : How to Code Python Fast In Just 24 Hours With 7 Simple Steps Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5HTML & CSS: Learn the Fundaments in 7 Days Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Learn to Code. Get a Job. The Ultimate Guide to Learning and Getting Hired as a Developer. Rating: 5 out of 5 stars5/5Hacking: Ultimate Beginner's Guide for Computer Hacking in 2018 and Beyond: Hacking in 2018, #1 Rating: 4 out of 5 stars4/5PYTHON: Practical Python Programming For Beginners & Experts With Hands-on Project Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5SQL All-in-One For Dummies Rating: 3 out of 5 stars3/5Java for Beginners: A Crash Course to Learn Java Programming in 1 Week Rating: 5 out of 5 stars5/5Learn PowerShell in a Month of Lunches, Fourth Edition: Covers Windows, Linux, and macOS Rating: 0 out of 5 stars0 ratingsPython Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming Rating: 0 out of 5 stars0 ratingsThe Unofficial Guide to Open Broadcaster Software: OBS: The World's Most Popular Free Live-Streaming Application Rating: 0 out of 5 stars0 ratingsPokemon Go: Guide + 20 Tips and Tricks You Must Read Hints, Tricks, Tips, Secrets, Android, iOS Rating: 5 out of 5 stars5/5Teach Yourself C++ Rating: 4 out of 5 stars4/5SQL: For Beginners: Your Guide To Easily Learn SQL Programming in 7 Days Rating: 5 out of 5 stars5/5The Little SAS Book: A Primer, Sixth Edition Rating: 5 out of 5 stars5/5Python: For Beginners A Crash Course Guide To Learn Python in 1 Week Rating: 4 out of 5 stars4/5Excel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5101 Amazing Nintendo NES Facts: Includes facts about the Famicom Rating: 4 out of 5 stars4/5
Reviews for Get Ready for CSS Grid Layout
0 ratings0 reviews
Book preview
Get Ready for CSS Grid Layout - Rachel Andrew
Foreword
What does it look like,
when a new web feature is tested for years, honed to a fine edge, and launched in multiple browsers almost simultaneously, catapulting its global support from nothing to well over eighty percent in the space of a few weeks?
It looks like CSS Grid.
For those of us who have watched web standards develop for lo these many years, what happened with Grid was almost incomprehensible. We’re used to watching one browser pick up a new standard, and then wait years for the others to join the fun. We’re used to seeing these slowly emerging implementations riddled with gaps, or having to change defined behaviors midstream because flaws in the specification were uncovered long after shipping. Flexbox suffered this.
But Grid—no, Grid arrived in a fusillade of browser updates, with robust consistency and a small rump of glitches and oddities that were quickly smoothed out. The ship that Internet Explorer (yes!) launched in 2012 set sail as an armada in the spring of 2017.
That was then. What about now?
Now we have two years of slowly growing experience with Grid. Sites have shipped using it for layout almost unheralded, because there was no need for clever hackery to make it work. It does what it claims to do, what it was designed to do, with efficiency and elegance.
And now, with that experience behind us, the specification is being updated to address some of the rare limitations that existed in the first version of Grid. That’s why you’re lucky to have this book in front of you. No one is better qualified than Rachel Andrew to explain the basics and the evolution of Grid. Whether this is your first foray into Grid or a refresher course on a technology you already rely on, you’ll find what you need here. And, quite probably, you’ll find nearly everything you might want in a layout language. Savor it. We may not see its like again.
—Eric Meyer
Introduction
When I began working on the web
in 1996, the only real skill a front-end developer had to master was chopping up images into tiny bits and reassembling them into a table to create a layout.
Netscape 4 still held a huge market share when I started using CSS for layout. The browser’s implementation of absolute positioning was so poor that when a user resized their screen, all of the positioned elements would stack up in the top left corner. I’ve watched CSS evolve from a simple single specification—concerned primarily with changing text colors and adding borders to things—to the increasingly complex language it is today. We live in a very different world from the one in which I learned my craft!
Along the way, I’ve witnessed browser wars, and, during my time as a Web Standards Project member, have encouraged browser and tool vendors alike to innovate through the standards process. We can now see that process playing out in many of the specifications currently wending their way through the W3C.
One such specification, CSS Grid Layout, is the subject of this little book. The specification debuted