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 trialMatthew Clark
Courses Plus Student 1,063 PointsAre hover & visited pre-defined codes? If so, is there a list of these pre-defined codes?
I noticed that when forming our main.css file the class, & id's are what ever we would like to type in. When use visited & hover we are not naming it to what we like, these are already pre-defined codes such as header, footer, body, etc..... Is there a list of these codes? I hope this makes sense. =)
1 Answer
Emma Willmann
Treehouse Project Reviewerhover and visited are psuedo classes. There is more information with a list here: [http://www.w3schools.com/css/css_pseudo_classes.asp}(http://www.w3schools.com/css/css_pseudo_classes.asp)
There are also psuedo elements which you can see here: http://www.w3schools.com/css/css_pseudo_elements.asp.
Hope that helps!
Matthew Clark
Courses Plus Student 1,063 PointsMatthew Clark
Courses Plus Student 1,063 PointsThank you Emma, greatly appreciated!!