Image Caption

  • The image (google image might take time to load) below was to be centered on the page.
  • A caption for the picture reads "This is Nice by the sea"
  • The caption has a black background and is somewhat transparent.
  • The caption fades in when the mouse cursor moves over the image.
  • The caption fades out when the mouse cursor moves away from the image.

I chose to use a javascript framework in this example (jQuery)

Please leave a comment in if you would like to see other code examples.