• HeartyOfGlass@piefed.social
      link
      fedilink
      English
      arrow-up
      50
      ·
      1 day 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
      19
      ·
      1 day 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.

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

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