Chapter 9. Motion and color
- 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 ...