Chapter 9. Motion and color

 

This chapter covers
  • Making elements semitransparent with the opacity property
  • Making colors semitransparent with RGBA
  • A new, more intuitive way to specify color: HSL and HSLA
  • Natural user interaction with transitions and animation

 

In this chapter, we’ll look at some of the snazzier aspects of CSS3—features that are much loved by graphic designers.

Colors and opacity

In the beginning, the web was black and white, but these days there aren’t many websites that don’t make extensive use of color. It’s unlikely the web will revert to black and white any time soon, so it’s a good thing CSS3 includes several new ...

Get Hello! HTML5 & CSS3: A user-friendly reference guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.