Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Text and image tint overlay hide on hover

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #202512
    socalfoolina
    Participant

    Help! Using this example: http://jsfiddle.net/robertolux/nSUqV/, I would like to add white text over the tinted image. On hover BOTH the text and tint hide, showing only the image which is a clickable link. Basically a reverse of the normal hover when usually a tint & text caption display. Here is my attempt as well: http://joydey.com/text-test/test1.html

    Thanks!

    #202514
    Paulie_D
    Member

    I can think of a couple of ways to go here.

    My first question is, what is going to define the size of the element?

    The image inside it or the text etc, to ‘overlay’ the image?

    #202522
    socalfoolina
    Participant

    The text character count will be relatively the same for each. I guess I would define the size of the element by the image… However this needs to work in a responsive design (bootstrap).

    I’m open for suggestions and best practice. Thanks for your help!

    #202529
    Paulie_D
    Member

    I’m no expert on Bootstrap but something like this..

    http://codepen.io/Paulie-D/pen/RPRexz

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.