Farbe & Design
CSS Grid Layout Generator
Drag track sizers, copy the CSS Grid.
.grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 80px 80px;
gap: 12px;
}Anmerkung der Redaktion
Understanding · The first real layout system the web has had.
Dieses ausführliche Kapitel ist derzeit nur auf Englisch verfügbar. Das Konvertierungstool oben funktioniert in Ihrer Sprache; der lange Erklärtext wurde noch nicht übersetzt.
Häufig gestellte Fragen
Quick answers.
›What browser support can I expect?
CSS Grid is supported by all modern browsers (Chrome, Firefox, Safari, and Edge). This generator produces standard syntax that is compatible without the need for complex polyfills.
›What are fractional units (fr)?
The `fr` unit represents a fraction of the available space in the grid container. Using `1fr` for multiple columns ensures they share the remaining space equally after fixed-width tracks are accounted for.
›Is my layout data saved to a server?
No. The generator runs completely in your browser and your layout configuration never leaves your machine. You can copy the code directly to your clipboard for use in your project.
›What is the difference between tracks and gaps?
Tracks are the actual columns and rows that hold content, while gaps (gutters) define the empty space between those tracks. You can adjust the `grid-gap` to control spacing without affecting track sizing.
Andere suchten auch nach
Verwandte Tools
More in this room.
- CSS-Einheiten-UmrechnerKonvertieren Sie px, rem, em, pt und mehr.
- Seitenverhältnis-RechnerVerhältnisse berechnen und Dimensionen anpassen.
- Schriftarten-KombinationenKuratierte Kombinationen für Google- oder Systemschriftarten.
- Farbumrechner (HEX/RGB/HSL/OKLCH)HEX, RGB, HSL und modernes OKLCH — sofort.
- Kontrast-Checker (WCAG)WCAG AA / AAA Kontrast prüfen — bestanden oder nicht.
- Farbverlauf-GeneratorLineare, radiale und konische CSS-Farbverläufe.