CHAPTER 3

image

Specifying Sizes, Colors, and Files

In the preceding chapter, you used a keyword to set the value of the cursor property. Many CSS properties use predefined keywords, but sizes, colors, and the location of files need to be specified individually. This chapter describes the units of measurement and the syntax used to specify colors and files. CSS3 introduces several new units of measurement, which are only gradually being implemented by browsers, so you need to use them with caution.

In this chapter you’ll learn about the following:

  • Which units of measurement to use for visual browsers and printers
  • Understanding the difference between ...

Get Beginning CSS3 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.