The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › CSS Rollovers as Sprites
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.
Are you able to link to a CodePen showing the code you are using?
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.