CSS3 In-Depth CSS3 In-Depth

Background clip, origin and size

Estelle Weyl
Standardista
Check out a free preview of the full CSS3 In-Depth course:
The "Background clip, origin and size" Lesson is part of the full, CSS3 In-Depth course featured in this preview video. Here's what you'd learn in this lesson:

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