Chapter 5. Working with Measurement Values

From creating a layout to working with line heights and font sizes, at some point you will need to use a measurement value. Even if you are already using a favorite measurement, another value might be a better fit for your current project.

In this chapter, you learn about the various options available for measurement, including pixels, percentages, em units, and more.

With so many devices in use today, what is the right value to use? Should you be using pixels for everything? What about em units? Well, it turns out that many different types of measurement values are available.

CSS3 introduced some new measurement values that actually have some decent support in today’s modern browsers. Although this ...

Get Responsive Mobile Design: Designing for Every Device 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.