CSS3 In-Depth CSS3 In-Depth

Background clip, origin and size

Estelle Weyl
Estelle Weyl
HTML5 & CSS3 in the Real World

The background-clip property in CSS indicates which part of the background is showing. Background origin indicates where you the background image begins. When considering hiDPI images, the background-size property determines how backgrounds will grow or shrink.

Get Unlimited Access Now