{ "css": { "properties": { "background-size": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-size", "support": { "chrome": [ { "version_added": "3" }, { "version_added": "1", "prefix": "-webkit-", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ], "chrome_android": [ { "version_added": "18" }, { "version_added": "18", "prefix": "-webkit-", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ], "edge": { "version_added": "12" }, "firefox": [ { "version_added": "4" }, { "version_added": "49", "prefix": "-webkit-" }, { "prefix": "-moz-", "version_added": "3.6", "version_removed": "4" } ], "firefox_android": [ { "version_added": "4" }, { "version_added": "49", "prefix": "-webkit-" } ], "ie": { "version_added": "9" }, "opera": [ { "version_added": "10" }, { "version_added": "15", "prefix": "-webkit-", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." }, { "version_added": "9.5", "version_removed": "15", "prefix": "-o-", "notes": "Opera 9.5's computation of the background positioning area is incorrect for fixed backgrounds. Opera 9.5 also interprets the two-value form as a horizontal scaling factor and, from appearances, a vertical clipping dimension. This has been fixed in Opera 10." } ], "opera_android": [ { "version_added": "10.1" }, { "version_added": "14", "prefix": "-webkit-", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." }, { "version_added": "10.1", "version_removed": "14", "prefix": "-o-", "notes": "Opera 9.5's computation of the background positioning area is incorrect for fixed backgrounds. Opera 9.5 also interprets the two-value form as a horizontal scaling factor and, from appearances, a vertical clipping dimension. This has been fixed in Opera 10." } ], "safari": [ { "version_added": "5" }, { "prefix": "-webkit-", "version_added": "3", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ], "safari_ios": [ { "version_added": "4.2" }, { "prefix": "-webkit-", "version_added": "1", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ], "samsunginternet_android": [ { "version_added": "1.0" }, { "prefix": "-webkit-", "version_added": "1.0", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ], "webview_android": [ { "version_added": "2.3" }, { "version_added": "≤37", "prefix": "-webkit-", "notes": "WebKit-based browsers originally implemented an older draft of CSS3 background-size in which an omitted second value is treated as duplicating the first value; this draft does not include the contain or cover keywords." } ] }, "status": { "experimental": false, "standard_track": true, "deprecated": false } }, "contain_and_cover": { "__compat": { "description": "contain and cover", "support": { "chrome": { "version_added": "3" }, "chrome_android": { "version_added": "18" }, "edge": { "version_added": "12" }, "firefox": { "version_added": "3.6" }, "firefox_android": { "version_added": "4" }, "ie": { "version_added": "9" }, "opera": { "version_added": "10" }, "opera_android": { "version_added": "14" }, "safari": { "version_added": "5" }, "safari_ios": { "version_added": "4.2" }, "samsunginternet_android": { "version_added": "1.0" }, "webview_android": { "version_added": "37" } }, "status": { "experimental": false, "standard_track": true, "deprecated": false } } } } } } }