Skip to main content

One doc tagged with "contain"

View all tags

The background-size Property

Learn how to use the CSS background-size property to control the dimensions and scaling of a background image, with a focus on the essential 'cover' and 'contain' values.