...

/

Sizing Backgrounds Using Length Measurements

Sizing Backgrounds Using Length Measurements

As opposed to keywords, backgrounds may also be sized using length measurements. Here's how it works.

We'll cover the following...

Using length measurements, a vaild declaration looks like this:

Press + to interact
p {
background-size: 150px 200px
}

When length measurements are used, the background ...