Baseline Widely Background
background-size
The background-size CSS property scales or stretches a background based on the size of the element (with the contain and cover keywords), a length, or percentage.
Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Safari 5.1
2011-07-20
Core-3 Stability
377d (1.0y)
Last: Chrome (2012-07-31)
BCD Keys Mapped
5
Group: Background
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Safari on iOS | mobile | 4.2 | 2010-11-22 |
| Safari | desktop | 5.1 | 2011-07-20 |
| Firefox | desktop | 9 | 2011-12-20 |
| Chrome | desktop | 21 | 2012-07-31 |
| Firefox for Android | mobile | 18 | 2013-01-08 |
| Chrome Android | mobile | 25 | 2013-02-27 |
| Edge | desktop | 12 | 2015-07-29 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.properties.background-size | CSS | 553d (1.5y) |
| css.properties.background-size.auto | CSS | 818d (2.2y) |
| css.properties.background-size.contain | CSS | 265d |
| css.properties.background-size.cover | CSS | 265d |
| css.properties.background.background-size | CSS | 377d (1.0y) |