Grow your CSS skills. Land your dream job.

[Solved] Description on image-hover

  • # September 22, 2010 at 7:34 pm

    Hello.

    I’m making a website, and I’m sort of a newbie. I’m making this gallery, and I’d like to have a fancy way of choosing some of the albums. What I want is that when a user hovers over an image, a black (almost) transparent box will appear on the image with a description in a white font. I was thinking that this box would slide up, and perhaps this could be done using jQuery. Is this possible to make?

    Thanks in advance.

    # September 22, 2010 at 8:30 pm

    ok something like this

    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">














    this wasn’t coded by me but i remembered having this code when i was trying to tho that and only with css…

    # October 14, 2010 at 1:39 pm

    Thank you, sir. It works like a charm. :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".