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 trialolympia iliadou
812 PointsWhat if I want to make a border that hovers on the "skills" section for Example?
What if I want to make a border that hovers on the "skills" section for Example? I don't know how would I create this pseudo-class?
1 Answer
michael apprich
9,989 PointsIt's hard to answer without some context or code to look at. :hover
is the pseudoclass you would use for a hover effect. So it would look like this:
.example-class:hover {
border: 1px solid #ffffff;
}
So, that would give you a border on hover if you hover over that element.
Rich Donnellan
Treehouse Moderator 27,696 PointsChanged this to be an answer and updated to mark the code block as css
syntax.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsIs this in regards to a specific course and lesson? If so, please provide a link to that lesson (and perhaps also a time index).