1. Rules: selector and declarations
Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.
A CSS rule has a selector and declarations inside braces. The selector picks the elements to style. Each declaration is a property, a colon, a value and a semicolon.
Example: h1 { color: navy; } picks every h1 and makes its text navy.
Ver ejemplo
h1 {
color: navy;
}
✍️ Ahora te toca
Make every h1 green.