- Ausführende
-
Lernen
Python-Lernbereich Ausführbare Beispiele, NumPy, pandas und mehr C/C++-Lernbereich Zeiger, Speicher, STL und modernes C++ C#-LernbereichC#-Grundlagen, OOP, LINQ, Async und .NET-Übungen Python-Algorithmen Suche, Sortierung, Rekursion und Visualisierungen O(n) C/C++-Algorithmen Implementierungen in C und C++ vergleichen
- Aufgaben
CSS and design
CSS Grid Generator
Design a CSS grid by drawing items on it, and get clean grid-template and grid-area code.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the CSS Grid Generator
- Set the number of columns and rows, their sizes and the gaps.
- Drag across empty cells to add an item; click × to remove one.
- Copy the CSS and HTML.
Frequently asked questions
What does 1fr mean?
One fraction of the free space. Three 1fr columns share the width equally.
What does grid-area: 1 / 1 / 2 / 3 mean?
Row start / column start / row end / column end, counted in grid lines, so the item spans the first two columns of row 1.
Can items overlap?
Yes. CSS grid allows it; the item that comes later in the HTML is drawn on top.
Übe Python mit Coding Challenges
Löse praktische Aufgaben direkt im Editor: Führe die Beispieltests aus, reiche ein und erhalte ein KI-Code-Review.