Test Your Knowledge

  1. What do the CSS3 operators ^, $, and * do?

  2. What property do you use to specify the size of a background image?

  3. With which property can you specify the radius of a border?

  4. How can you flow text over multiple columns?

  5. Name the four functions with which you can specify CSS colors.

  6. How would you create a gray text shadow under some text, offset diagonally to the bottom right by 5 pixels, with a blurring of 3 pixels?

  7. How can you indicate with an ellipsis that text is truncated?

  8. How can you include a Google web font in a web page?

  1. What CSS declaration would you use to rotate an object by 90 degrees?

  2. How do you set up a transition on an object so that when any of its properties are changed, the change will transition immediately in a linear fashion over the course of half a second?

See Chapter 19 Answers in Appendix A for the answers to these questions.

Get Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.