- 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: Units & Colors
This CSS quiz covers the units and color formats you use in almost every stylesheet. You will work out what em, rem, %, vw and vh resolve to, and read colors written as hex, rgb(), hsl() and named keywords.
Pregunta de ejemplo
Pregunta 1 de 10The root <html> element has the default font-size: 16px. What is 2rem in pixels?
Ver la respuesta
B. 32px rem is relative to the root element's font size, so 2rem = 2 x 16 = 32px wherever it is used. The parent's font size matters for em, not rem.
Qué cubre este quiz
- Absolute
pxvs relativeemandrem - Percentages and viewport units
vwandvh - Hex colors, short hex and alpha in hex
rgb()andhsl()with transparencycurrentColorand unitlessline-height
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.