Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Wajeeh Hassan Qureshi
Wajeeh Hassan Qureshi
8,631 Points

PSEUDO CLASS

I don't quite understand this line of piece of code.

nav a, nav a:visited {
    color: #fff;
}

2 Answers

Volker Brauer
Volker Brauer
9,556 Points

Hi, the code means that all Links (a-Elements) and all visited Link (a:visited) inside the navigation-container (nav-Elements) have the text-color white (#fff is white color). The a:visited is called a "pseudo"-class", because you donΒ΄t find it in the normal html-mark-up.