HTML and CSS Reference
This removes the extraneous space, as shown in Figure 20-11 .
Figure 20-11. The images have been resized in the HTML markup
The images are scaled up to their original size when hovered over, and to prevent them partially
disappearing offscreen, the anchor points are set like this:
transform-origin: left top;
transform-origin: right top;
As Figure 20-12 shows, the left image is restored to its full size when the mouse pointer is over it.
Figure 20-12. The image is scaled up when hovered over