Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattstauffer/simple-ress
Allowing PHP to access device screen width for use in Lukew's RESS (Responsive Design + Server Side Components) suggestion
https://github.com/mattstauffer/simple-ress
Last synced: 3 months ago
JSON representation
Allowing PHP to access device screen width for use in Lukew's RESS (Responsive Design + Server Side Components) suggestion
- Host: GitHub
- URL: https://github.com/mattstauffer/simple-ress
- Owner: mattstauffer
- Created: 2011-11-10T16:41:48.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-10T21:07:03.000Z (about 13 years ago)
- Last Synced: 2023-11-07T20:44:26.507Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 163 KB
- Stars: 129
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# 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](http://www.lukew.com/ff/entry.asp?1392), and uses the screen width cookie from MattWilcox's [Adaptive Images](http://adaptive-images.com/).## Legal
Simple RESS by Matt Stauffer is licensed under a [Creative Commons Attribution 3.0 Unported License](http://creativecommons.org/licenses/by/3.0/)