quotes

Specifies which characters to use for curly quotes or other language-specific quotation marks when using the <q> tag or 'content: open-quote'.

It is documented as part of the CSS Generated Content specification.

/* Usage Example */
blockquote {
  /* Uses traditional French angle quotes instead of standard double quotes */
  quotes: ';«' '»' '‹' '›';
}
blockquote::before{
  content: open-quote;
}

/* Syntax */
quotes: none;
quotes: auto;

/* Global values */
quotes: inherit;
quotes: initial;
quotes: revert;
quotes: revert-layer;
quotes: unset;
Widely available Since 2021 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.

11+
1.5+
9+
12+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC