News for hackers. Stuff that matters.
Re:How to build an absurdly backwards-compatible website by eyelidlessness on Thursday May 05, 2022 @01:11AM (#31269745)
> As for the @media tags, I do utilize them to a degree, just to make everything render nicely on mobile and to support dark-mode. But (to put it cheekily) I’m more concerned with backwards compatibility than forwards compatibility :p

I definitely recognized that! My thought was take that backcompat focus further and relegate whatever forward compat you do choose to support not to @media queries, but the media attribute on link tags[1]. Why should HTML 4 browser users download dark mode CSS they can’t use? ;)

1: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li...

There are no comments on this comment yet.