• HeartyOfGlass@piefed.social
      link
      fedilink
      English
      arrow-up
      71
      ·
      2 days ago

      That was pretty standard for a while in web design - traditional “desktop” sites need a radically different layout when viewed from a smartphone, so from the dev side you’d check the size of the screen & redirect the user to the right subdomain for their device.

      Nowadays it’s not really necessary.

    • jqubed@lemmy.world
      link
      fedilink
      English
      arrow-up
      24
      ·
      2 days ago

      I think they used separate style sheets. Going way back in time, to the early days of smartphones and back when non-smartphones had mobile web browsers, most websites would serve either a separate style sheet that gave a simplified layout for tiny screens or even an entirely different, simplified page. Early adopters to mobile browsing tended to hang on to that separation much longer than newer sites that took advantage of CSS that could adapt to the screen size.

      • kent_eh@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        4 hours ago

        mobile web browsers, most websites would serve either a separate style sheet that gave a simplified layout

        A simpler layout and usually a more lightweight page in general because mobile data was slow and expensive back then.

        If someone wanted people to actually use their site on the go, they had to make it load quickly and not cost $5 worth of data doing it.

      • Chronographs@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Honestly I generally prefer the desktop sites and just zooming in than mobile sites that tend to badly fit everything on the screen.

        • Echo Dot@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 hours ago

          Most mobile browsers will let you force desktop mode. So if you want to you can do that.

          McDonald’s mobile website is especially bad with folding phones (first world problems) so I have it constantly enabled for that site.