- 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: Responsive Design & Media Queries
This CSS quiz covers responsive design, from the viewport meta tag to media queries and container queries. You will predict which rules apply at a given screen width, avoid ordering traps, and size things fluidly with clamp() and max-width.
Pregunta de ejemplo
Pregunta 1 de 10What happens on a phone if a page leaves out this tag?
<meta name="viewport" content="width=device-width, initial-scale=1">
Ver la respuesta
B. The page is rendered at a wide virtual width (often 980px) and zoomed out, so media queries for small screens do not match Without the tag, mobile browsers lay the page out as if on a desktop-sized viewport and shrink it to fit. With width=device-width, the layout viewport matches the device so max-width: 600px queries apply.
Qué cubre este quiz
- The viewport meta tag
- Mobile-first
min-widthqueries and their exact breakpoints - Media queries, source order and specificity
- Fluid sizes with
clamp(),%andmax-width: 100% - User preferences and container queries
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.