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


Lucian Pintilie
Lucian Pintilie
9,938 Points

How can i move a glyphicon next to a link right when hovering over the link?

I have a read more link and a glyphicon on its right. I am trying to make the glyphicon move further right when hovering over the link. Any ideas?

1 Answer

jack AM
jack AM
2,618 Points

Without seeing your code, what you can do is add the css selector :hover to either your link or your glyphicon. If you use the :hover on your glyphicon you can add padding-left to it, or if you use it on your link you can add padding-right.