Conteúdo do Curso
CSS Fundamentals
CSS Fundamentals
Challenge: Add The Styles using the Class Name
Task
The website provides brief information about the planets. The task is:
- Select all elements with the
text
class name and apply thecolor
property with the valuebrown
. - Select all elements with the
sub-text
class name and apply thecolor
property with the valuegrey
.
index
index
index
Use .
and its class name (e.g., .text
) to select an element by its class name.
index
index
index
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 5