CSS QUOTES

This property determines the type of quotation marks that will be used in a document. One or more quotation mark pairs are given, with the basic quotation characters being the left-most pair. Each subsequent pair represents the quotation characters used at progressively deeper element nesting contexts.

Values of the ‘content’ property are used to specify where the open/close quotation marks should or should not occur – the “open-quote”, “close-quote”, “no-open-quote”, and “no-close-quote” values. “Open-quote” refers to the left (first) of a given pair of specified quotes, while “close-quote” refers to the second (right) quote character in the pair. Quotes can be skipped at a particular location by using the “no-close-quote” and “no-open-quote” value. In the event that the quote character nesting depth is not covered in the ‘quotes’ property specification, the last valid quotation pair set should be used.

Example
1
2
3
blockquote[lang-=fr] {
  quotes: "\201C" "\201D"
}
1
2
3
blockquote[lang-=en] {
  quotes: "\00AB" "\00BB"
}
1
2
3
blockquote:before {
  content: open-quote
}
1
2
3
blockquote:after {
  content: close-quote
}

Possible Values

inherit: Explicitly sets the value of this property to that of the parent.
none: The ‘open-quote’ and ‘close-quote’ values of the ‘content’ property produce no quotations marks.

([string] [string]): Values for the ‘open-quote’ and ‘close-quote’ values of the ‘content’ property are taken from this list of quote mark pairs. The first or possibly only) pair on the left represents the outermost level of quotation embedding, the pair to the right (if any) is the first level of quote embedding, etc.