Take out the changes which you have made to
the code I gave you on Tuesday[
^] - specifically, the
transform-origin
,
position
,
left
, and
top
properties for the
.image
class.
The
background-repeat
on both
.image
and
div#centre > div
serves no purpose, since neither element has a background set.
Updated demo[
^]
Now the only issue is that your taller images don't quite line up on the centre of the button. You can improve that by adding margins to the button to make it take the same height as the images, and increasing the translation value to account for the new image height.
Demo[
^]