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!
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

Meshach Ojeda
8,276 Pointsli elements in the nav bar change color?
how come the links in the list items change color when the cursor hovers over them? I dont see a hover pseudo selector, just curious
3 Answers

Steven Parker
225,712 PointsHe scrolls by it pretty fast, but if you freeze the video at the right point around 2:57 you can see see this starting on line 57 of "styles.css":
.main-nav a:hover {
color: #093a58;
}
If you have the workspace open you can more easily just see it in the file.

Meshach Ojeda
8,276 Pointssorry .. i did not realize the question was not attached to the video i am viewing. it is from the css lay out course on inline display heres the link: https://teamtreehouse.com/library/positioning-elements-sidebyside-with-inline-display

Meshach Ojeda
8,276 Pointsahhh.. :| i cant believe i missed that . thank you sir
Steven Parker
225,712 PointsSteven Parker
225,712 PointsWhere's the code that you're seeing this effect from?