🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Intermediate

What is CSS Grid?

A two-dimensional CSS layout system for creating complex grid-based designs with rows and columns.

CSS Grid handles two-dimensional layouts (rows AND columns simultaneously). Key properties: display: grid, grid-template-columns/rows (define track sizes), gap, grid-area (name regions), and grid-template-areas (visual layout definition).

Grid excels at page-level layouts, dashboards, image galleries, and magazine-style designs. It works with Flexbox — use Grid for overall page structure and Flexbox for component-level alignment. Features like auto-fill, minmax(), and fr units enable responsive grids without media queries.

Related Terms

OAuth Scope
A mechanism in OAuth that limits an application's access to a user's account to specific resources or actions.
Server-Sent Events (SSE)
A web technology enabling servers to push real-time updates to browsers over a single HTTP connection, simpler than WebSockets.
CORS Preflight
An automatic OPTIONS request sent by browsers before certain cross-origin requests to check if the actual request is permitted.
Static Site Generator (SSG)
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
Progressive Web App (PWA)
A web application that uses modern web capabilities to deliver app-like experiences with offline support and push notifications.
Structured Data (Schema.org)
A standardized vocabulary for marking up web content so search engines can understand and display it as rich results.
View All Web Development Terms →