This is clean and simple, I like it a lot.
Have you considered using :root instead of html ? It can cover more edge cases.
:root
html
you know ive never used :root before! sounds cool. what kind of edge cases?
Such as a document that doesn't have an <html>, for example.
lol. dev.to commented out my html
We're a place where coders share, stay up-to-date and grow their careers.
This is clean and simple, I like it a lot.
Have you considered using
:rootinstead ofhtml? It can cover more edge cases.you know ive never used :root before! sounds cool. what kind of edge cases?
Such as a document that doesn't have an <html>, for example.
lol. dev.to commented out my html