[CSS] Day 3: Selector Hierarchy



In Day 2, I selected every font color as black but what if I want to change different color to each purpose? for example, viewed and unviewed?

Unviewed = Black
Viewed = Gray
Currently viewing = Red







Hierarchy

(id) #selector > (class) . selector > (tag) selector


CSS selector reference




Popular posts from this blog

[CSS] Day 4: Let's practice - box

[AWS] Intro to Cloud Practitioner 01

[AWS] AWS Management Interfaces 02