I’m trying to get a link/an image button (including :hover and :active sprites) working on a responsive design, but I have no idea how to start.
This is the code:
background: url(“../images/button.png”) no-repeat 0 0;
background-position: 0 -116px;
background-position: 0 -232px;
I’ve tried the max-width property, but as a result the background gets cut off.
Any ideas on how to achieve this responsive, without creating a new set of images?
It did work, thanks! Funny though how the percentage thing works the opposite way :)
You must be logged in to reply to this topic.