Hi!
I'm using an extra rule on top of simple.css, to avoid inconsistencies with colours when a tag <a> contains a tag <code>, e.g.:
a:has(> code) {
color: var(--code);
}
<p>
Use <a href="https://developer.mozilla.org/docs/Web/API/Window/localStorage"><code>window.localStorage</code></a>
instead of writing cookies!
</p>
Result:
vs
Do you think this rule belongs to simple.css, rather than my style sheet?
Hi!
I'm using an extra rule on top of simple.css, to avoid inconsistencies with colours when a tag
<a>contains a tag<code>, e.g.:Result:
vs
Do you think this rule belongs to simple.css, rather than my style sheet?