Created
November 7, 2013 14:37
-
-
Save feeela/7355585 to your computer and use it in GitHub Desktop.
Citation Quotes For Different Languages; 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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment