allBaseline · Widely available
The all CSS property is a shorthand for all CSS properties, except for direction and unicode-bidi. It accepts only the keywords for explicit defaulting (such as initial and inherit), since they are the only values supported on all CSS properties.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Jan 15, 2020. Widely available since Jul 15, 2022.
Browser support
DesktopChrome
1–36Not supported
37+Supportedsince Aug 26, 2014
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
1–26Not supported
27+Supportedsince Feb 4, 2014
Current: 157Safari
1–9Not supported
9.1+Supportedsince Mar 21, 2016
Current: 27MobileChrome Android
18–36Not supported
37+Supportedsince Sep 3, 2014
Current: 155Firefox Android
4–26Not supported
27+Supportedsince Feb 4, 2014
Current: 157Safari iOS
1–9Not supported
9.3+Supportedsince Mar 21, 2016
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: all.
Feature detection
CSS · check before using
@supports (all: initial) {
/* styles that rely on all */
}
/* or in JavaScript */
if (CSS.supports("all", "initial")) {
// use it
}