News for hackers. Stuff that matters.
Re:How to build an absurdly backwards-compatible website by zachflower on Wednesday May 04, 2022 @10:02PM (#31268500)
This is great, thank you!

I’ve been living in backend-land for so long I’ve never actually used the <picture> tag. I will have to take a stab at it and see how the legacy browsers treat it, because if I don’t have to use GIFs, I won’t.

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

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...