CSS quotes Property Reference
The CSS quotes property is a standard property in CSS Generated Content. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
quotes overview
The CSS quotes property is a standard property in CSS Generated Content. Review its formal syntax, computed behavior, and practical declarations.
The computed value normally inherits from the parent element when no declaration wins the cascade.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | none | auto | [ <string> <string> ]+ |
| Initial value | dependsOnUserAgent |
| Applies to | allElements |
| Inherited | Yes |
| Percentages | no |
| Computed value | asSpecified |
| Animation type | discrete |
| Media | visual |
| Specification group | CSS Generated Content |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set quotes. The initial and inherit global keywords remain available even when a property-specific value is preferable.
CSS
.reset-example {
quotes: initial;
}
.inherit-example {
quotes: inherit;
}
@supports (quotes: initial) {
.supported {
quotes: initial;
}
}