<div lang="en"><q>This English quote has a <q>nested</q> quote inside.</q></div>
<div lang="fr"><q>This French quote has a <q>nested</q> quote inside.</q></div>
<div lang="de"><q>This German quote has a <q>nested</q> quote inside.</q></div>
<div lang="ko"><q>Korean quote</q></div>
@import url("https://fonts.googleapis.com/css?family=Gochi+Hand");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--color-en: #03a9f4;
--color-fr: #53b256;
--color-de: #f29235;
--color-ko: #f5d67b;
}
body {
width: 100vw;
height: 100vh;
margin: 0;
padding: 0;
background-color: #291642;
font-family: "Gochi Hand", sans-serif;
font-size: 130%;
letter-spacing: 0.1rem;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 2rem;
}
div {
margin: 2vh;
}
:lang(en) > q {
color: var(--color-en);
quotes: "\201C""\201D""\2018""\2019";
}
:lang(fr) > q {
color: var(--color-fr);
quotes: "« " " »";
}
:lang(de) > q {
color: var(--color-de);
quotes: "»" "«" "\2039""\203A";
}
:lang(ko) > q {
color: var(--color-ko);
quotes: "\300C""\300D""\300E""\300F""\300C""\300D""\300E""\300F";
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.