12. Dynamic Effects with Styles
There are a few CSS features that lend themselves to creating dynamic effects. These are the display and visibility properties, and the :hover pseudo-class. While the display and visibility properties control when an element is visible, the :hover pseudo-class gives you the power to administer that control.
In this chapter, I'll go over display and visibility and then show you a few ways that CSS designers are implementing these dynamic effects on their Web sites to make rollover buttons, pop-ups, dynamic menus, and moreall without the use of JavaScript.
|