No, you’re right. The important part I wanted to highlight is that the usual way is CSS, not JS. There are a bunch of websites that use JS for this purpose, and probably also many CMSs etc., but doing it using CSS is far more common.
No, you’re right. The important part I wanted to highlight is that the usual way is CSS, not JS. There are a bunch of websites that use JS for this purpose, and probably also many CMSs etc., but doing it using CSS is far more common.
Sure, some websites do that, but it’s simply wrong to say “having adaptive view usually requires js”. No, it doesn’t, usually responsive design doesn’t need JS.
If a browser doesn’t support media queries, it would just show the desktop version. Media queries have been broadly supported since 2015. It’s possible that Wikipedia still targets older browsers, but IMO it would be fine to show the desktop version on mobile browsers older than that.
Responsive design usually doesn’t require detecting anything about the client. There’s probably some differences in actual HTML markup between mobile/non-mobile Wikipedia, but I’d be surprised if it has to be that way. Media queries have been available for a long, long time.
Responsive design usually doesn’t need JS, it’s mostly pure CSS.
Why is Harvey indented
In a way, we’ve all been sharted out by starfish