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 trialNathaniel Nasarow
10,291 PointsCan you explain what Pseudo Classes are?
So, I learned about the 'visited' pseudo class, but what exactly does that entail in the background? Is it a code that is already a part of HTML/HTML-5/CSS? Or is it something else?
I'm curious if there are other types of similar code for other functions.
2 Answers
Jacob Mishkin
23,118 PointsA CSS pseudo-class is a keyword added to selectors that specifies a special state of the element to be selected. For example :hover will apply a style when the user hovers over the element specified by the selector. there are several other selectors, if you want more info on the subject check out the link below.
https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
I hope this helps.
Jacob Mishkin
23,118 PointsNot a problem!
Nathaniel Nasarow
10,291 PointsNathaniel Nasarow
10,291 PointsThanks a lot mate, I appreciate it!