- 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 Flexbox Generator
Play with every flexbox property and see the layout change instantly, then copy the code.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Flexbox Generator
- Set the container properties at the top.
- Click an item in the preview to change its own flex properties.
- Copy the generated CSS and HTML.
Frequently asked questions
What is the difference between justify-content and align-items?
justify-content places items along the main axis (the direction); align-items places them across it.
What does flex: 1 mean?
flex-grow: 1, flex-shrink: 1 and flex-basis: 0%, so items share the free space equally.
When should I use grid instead?
Use flexbox for one-dimensional rows or columns, and CSS grid when you need rows and columns at the same time.
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.