CSS sets width and height attributes for the button image, and tells the browser, "When someone hovers over the image, make it move 35 px from it's normal left position and reveal the background image for the div" - (The "hover" state).

Requires two images of identical size. Six buttons would require six classes and possibly 12 images.