Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

8. Boosting Styles with CSS3 > Creating Effects with Transitions

Creating Effects with Transitions

CSS made every web developer’s life a whole lot easier when it added pseudoclasses (Pseudoclass Selectors). Suddenly, with the help of :hover and :focus, developers could create interactive effects without writing any JavaScript code. For example, to create a hover button, you simply supply a set of new style properties for the :hover pseudoclass. These styles kick in automatically when the visitor moves the mouse pointer over your button.

Tip

If you’re the last web developer on earth who hasn’t rolled your own hover button, you can find a detailed tutorial in Creating a Website: The Missing Manual (O’Reilly), or in an online article at www.elated.com/articles/css-rollover-buttons.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial