AI, Data Science & Cloud Certificates from Google, IBM & Meta
AI Engineer - Learn how to integrate AI into software applications
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Learn an advanced CSS technique for targeting specific rows in CSS Grid layouts that use auto-fit or auto-fill properties. Master the use of container queries and CSS selectors to precisely control styling for first rows, last rows, second rows only, or first two rows in responsive grid systems. Explore the requirements and setup needed for this technique to work effectively, including how to implement container queries for different row selections. Discover alternative approaches using newer CSS features that eliminate the need for container queries entirely. Practice with provided CodePen examples demonstrating each variation of the technique, and understand the underlying principles that make this advanced grid manipulation possible.
Syllabus
00:00 - Introduction
00:45 - Requirements for this to work
01:45 - Setting up the first container query
03:00 - Getting the first two rows
05:10 - Getting only the second row
07:00 - Selecting the last row
13:44 - Using new CSS features so we don’t need container queries
Taught by
Kevin Powell