Jump to content

Just a thought about repsonsive


pwired
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

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