Pixel Units3:04 with Anwar Montasir
Usually, when defining a number value, we need to specify a length or unit of measurement for that value. If we don’t, the browser will likely not know what to do with that number value. So CSS offers different units for expressing length. Some length units are more flexible than others. For example, relative units and percentage units are always relative to other length values, which makes it easier for developers to layout content independently of screen size and resolution. Meanwhile, absolute units, like pixels, are always fixed in relation to each other. They don't scale like relative units do.
You need to sign up for Treehouse in order to download course files.Sign up