Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allowing PHP to access device screen width for use in Lukew's RESS (Responsive Design + Server Side Components) suggestion

Notifications You must be signed in to change notification settings

mattstauffer/Simple-RESS

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Simple RESS

Is a simple PHP-and-cookies based solution to adapt pieces of your web site's content depending on the user's device screen width.

Benefits

  • Allows for a more highly configurable responsive design
  • Provides the flexibility for custom page elements without the drawbacks of a devoted "mobile" site
  • Provides a fallback for devices with JavaScript disabled

Credit

RESS was originally suggested by lukew in RESS: Responsive Design + Server Side Components, and uses the screen width cookie from MattWilcox's Adaptive Images.

Legal

Simple RESS by Matt Stauffer is licensed under a Creative Commons Attribution 3.0 Unported License

About

Allowing PHP to access device screen width for use in Lukew's RESS (Responsive Design + Server Side Components) suggestion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.