O'Reilly logo

Sams Teach Yourself HTML and CSS in 24 Hours by Michael Morrison, Julie C. Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 18. Using Mouse Actions to Modify Text Display

Throughout this book, you have seen examples of how mouse actions can affect the display of text. The simplest example is when the hover pseudoclass of the <a> link is defined in the style sheet to display text in a different color when a user’s mouse hovers over it. In the previous hour, you learned how the hover pseudoclass changed both the text color and the background color of an <li> element.

In this hour, you’ll learn how to achieve two specific actions that combine CSS and mouse actions—displaying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required