The -moz-image-rect value for CSS background-image lets you use a portion of a larger image as a background....causes the four segments to rotate around by swapping the background-image...<div id="container" onclick="rotate()"> <div id="box1" style="...