- Executores
-
Aprender
Central de aprendizagem Python Exemplos executáveis, NumPy, pandas e mais Central de aprendizagem C e C++ Ponteiros, memória, STL e C++ moderno Central de aprendizagem C#Fundamentos, POO, LINQ, async e exercícios .NET Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++
- Desafios
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.
Pratique Python com desafios de código
Resolva problemas práticos direto neste editor: rode os testes de exemplo, envie sua solução e receba uma revisão de código por IA.