Jump to content

Recommended Posts

Posted

Hi,

When it comes to making a site responsive you read almost only about @media only screen and (max-width: px)

e.g.

@media only screen and (max-width: 500px) {
    body {
        stuff: values;
    }
}

So everything is done the css way.

But just a thought. Why not simply detect the device screen resolution and then load

a php template file with an include file, specifically made to output a layout and style

for that resolution ?

  • Like 1
Posted

The truth is that both ways sucks from the dev point of view because doubles the development time :)

  • Like 1
Posted

It fragments your development doing it eith detection. Check out mobile first. It's 80% of the time the best way, and requires you to think about those low bandwidth and small screens first and enhance up to desktop.

Also use sass or less it'll simply make your life easy, and the aiom module for process wire is ace

  • Like 1
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...