The CSS quotes property defines the quotation-mark symbols used for generated content, making it possible to match quotation styles to different languages. section 4.1.6
Add quotation marks to a blockquote
Apply open-quote and close-quote through the blockquote's ::before and ::after pseudo-elements:\n\nblockquote::before { content: open-quote; }\nblockquote::after { content: close-quote; }\n\nThe quotes property defines the symbols, while content inserts them. Without an explicit quotes declaration, the browser follows the document language; an en-US document renders “ and ” by default. French quotation styles can instead use « and ». section 4.1.6
Listing 4.7 Styling the blockquote
blockquote {
font: 1.8rem/1.25 'Oswald', sans-serif;
margin: 1.5rem 2rem;
}
blockquote::before { content: open-quote; }
blockquote::after { content: close-quote; }
View the complete blockquote styling, including the pseudo-elements that insert the opening and closing quotation marks. section 4.1.6
