Untitled
unknown
plain_text
2 years ago
666 B
5
Indexable
/* Override custom properties for dark theme */ .dark-theme { --primary-color: #000; --secondary-color: #fff; } /* Set font and background color for every third list item */ ul li:nth-of-type(3n) { color: #000; background-color: #fff; } .dark-theme ul li:nth-of-type(3n) { color: #fff; background-color: #000; } /* Set font size for paragraphs with custom properties */ p { font-size: 16px; } p[data-font-size] { font-size: var(--font-size, 16px); } p[data-font-size][data-font-size lt var(--min-font-size)] { font-size: var(--min-font-size); } p[data-font-size][data-font-size gt var(--max-font-size)] { font-size: var(--max-font-size); }
Editor is loading...