Forums

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

Home Forums CSS CSS Rollovers as Sprites

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #203119
    robertallen
    Participant

    Hi all,

    I have been googling and I can’t seem to find a way to make a CSS Rollover that would be responsive. They all have specified widths…however when I try to add width: 100%; max-width: 625px; it doesn’t show up.

    I found the code here:

    https://css-tricks.com/snippets/css/basic-link-rollover-as-css-sprite/

    Any help would be greatly appreciated.

    #203122
    josh
    Participant

    Are you able to link to a CodePen showing the code you are using?

    #203179
    robertallen
    Participant

    Sure thing, thank you so much.

    http://codepen.io/anon/pen/ZGeomV

    Later my goal is to make a transition, but I think I’m okay figuring that out. The overall max-width and max-height is 625px.

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