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

CSS

CSS Hidden description until hovered

Hi Treehouse,

I'm trying to create this design where there's an image with a title showing and when a user hovers over it, the description below the title (which is hidden) then pushes the div up and is visible to the user.

Anyone have thought on how to do this?

Heres a fiddle: http://jsfiddle.net/JDH9/rvj7n5my/2/

jdh,

I'd highly recommend looking through the site's "CSS Animations" course, which I found in the CSS Foundations class in the Front-End Development track. They go through everything you'll need to do this.

It looks to me like you'll need the "keyframes" and "animation" keys.

Guil does a much better job explaining things than I can in this small comment box.

Please let me know how this goes for you, as I'll be trying something similar in the future. :-)

-Brent