O'Reilly logo

Responsive Mobile Design: Designing for Every Device by Phil Dutson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 have already have a measurement favorite that you are currently using, odds are that there is another value that be a better fit for your current project.

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

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

CSS3 introduced some new measurement values that actually ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required