CSS quick tip: if you're adding quotation characters use `open-quote` and `close-quote` as content because they consider the document language. 💪
https://www.stefanjudis.com/today-i-learned/how-to-use-language-dependent-quotes-in-css/
CSS quick tip: if you're adding quotation characters use `open-quote` and `close-quote` as content because they consider the document language. 💪 https://www.stefanjudis.com/today-i-learned/how-to-use-language-dependent-quotes-in-css/ 14 comments
@stefan I've played around with these before, but doesn't this mean that when highlighting text to copy, the quotes aren't highlighted? At least in my testing. Since the text isn't actually part of the content @smlavine@fosstodon.org @stefan@front-end.social Firefox seems to have hard coded an exception to insert an ASCII @stefan Some (waving at @jyasskin) disagree with the advice to use <q>. I'm leaning more towards "fix the browser", but be aware: https://hachyderm.io/@jyasskin/112130381502947889 |
@stefan TIL, thanks.