- Exécuteurs
-
Apprendre
Espace d’apprentissage Python Exemples exécutables, NumPy, pandas et plus Espace d’apprentissage C et C++ Pointeurs, mémoire, STL et C++ moderne Espace d’apprentissage C#Bases, POO, LINQ, async et exercices .NET Algorithmes Python Recherche, tri, récursivité et visualisations O(n) Algorithmes C et C++ Comparer les implémentations en C et C++
- Défis
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.
Pratiquez Python avec des défis de code
Résolvez des problèmes concrets dans cet éditeur : lancez les tests, soumettez et recevez une relecture IA.