- Ejecutores
-
Aprender
Aprender Python Ejemplos ejecutables, NumPy, pandas y más Aprender IA / Machine LearningRedes neuronales, ML y LLM desde cero Aprender C y C++ Punteros, memoria, STL y C++ moderno Aprender C#Fundamentos, POO, LINQ, async y ejercicios de .NET Aprender MatplotlibGráficos de líneas, barras, dispersión y sectores con visualizadores Aprender RustOwnership, traits, manejo de errores e hilos Aprender GoSlices, interfaces, goroutines y canales Algoritmos en Python Búsqueda, ordenación, recursión y visualizadores O(n) Algoritmos en C y C++ Compara implementaciones en C y C++ Programación para niños ¡Aprende a programar jugando!
- QuizzesNuevo
- RetosNuevo
- Para docentesNuevo
- Actualizaciones
- Invítame a un café
Quiz de HTML & CSS: Flexbox
This CSS quiz tests how flexbox really distributes space. You will compute item widths from flex-grow, flex-shrink and flex-basis, choose the right alignment property for each axis, and fix the classic overflow caused by min-width: auto.
Pregunta de ejemplo
Pregunta 1 de 10The three children are plain <div>s. How are they laid out?
<style>
.row { display: flex; }
</style>
<div class="row">
<div>A</div>
<div>Bbbbbb</div>
<div>C</div>
</div>
Ver la respuesta
B. Side by side, each as wide as its content, starting at the left, and all as tall as the row The defaults are flex-direction: row, justify-content: flex-start, flex: 0 1 auto (no growing) and align-items: stretch. So items sit in a row at their content width and stretch to the row's height.
Qué cubre este quiz
- Flex container defaults and the main and cross axis
- Growing and shrinking with
flex-grow,flex-shrinkandflex-basis - What
flex: 1andflex: automean justify-content,align-itemsand auto margins- Wrapping,
orderand themin-width: autotrap
Preguntas frecuentes
¿Necesito una cuenta?
No. Cualquiera puede jugar. Inicia sesión para guardar tu XP, racha, insignias e historial.
¿Puedo repetirlo?
Sí. Se guarda tu mejor puntuación, y las preguntas y respuestas se mezclan cada vez.