Chapter 6 ■ CSS3 Keyframe animationS for Web Content
Adding Captions
There are a few options for adding captions to the Lightbox CSS3 code. The first adds a minimum amount to the
existing code, as span elements (Listing 6-27). The effect is shown in Figure 6-4.
Listing 6-27. Keyframe Sequence for a Lightbox Effect
Figure 6-4. Caption on mouseover for a large CSS Lightbox image