Is it possible to do something like this except as a sprite, only using css/html?
Excuse the poor example. I am just trying to figure this out.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, you just put the two images together into one, and use the
background-positionstyle to change what part of the image is shown.I applied it to your example, but I just use the top and bottom half of one of the images:
http://jsfiddle.net/Guffa/Lx4tp/2/
HTML:
CSS: