/ Published in: CSS
This snippets includes quotation marks around each , based on the language set in the HTML lang-attribute (e.g. ) and utilizes Unicode points to set the grammar-correct quotation marks.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
:lang(de), :lang(de-de) { quotes: "\201E" "\201C" "\201A" "\2018"; } :lang(de-fr) { quotes: "\00BB" "\00AB" "\203A" "\2039"; } :lang(de-ch) { quotes: "\00AB" "\00BB" "\2039" "\203A"; } :lang(en) { quotes: "\201C" "\201D" "\2018" "\2019"; } :lang(fr) { quotes: "\00AB\00A0" "\00A0\00BB" "\2039\00A0" "\00A0\203A"; } q:before { content: open-quote; } q:after { content: close-quote; } q q:before { content: open-quote; } q q:after { content: close-quote; }