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 trial

HTML Introduction to HTML and CSS (2016) Getting Familiar with HTML and CSS Building Web Pages with HTML and CSS

Waqas Khan
PLUS
Waqas Khan
Courses Plus Student 2,661 Points

How can I hover the name? instead of the picture

I am trying to hover the name, such as Hello, I am jane how can I hover this tag

4 Answers

Kieran Barker
Kieran Barker
15,028 Points
h1:hover {
  /* do something */
}
Jochen Landua
Jochen Landua
9,416 Points

The image is a 2D object and a Text isn't. So you can't use the same way to make it hover like the image. Hint: CSS transition could help you.

Waqas Khan
PLUS
Waqas Khan
Courses Plus Student 2,661 Points

But you did not understand my question, by the way yes, you can hover the text which I did.