HTML5 Zone is brought to you in partnership with:

Hirvesh Munogee is a freelance web developer who also happens to have a passion for blogging. Hirvesh is a DZone MVB and is not an employee of DZone and has posted 177 posts at DZone. You can read more from them at their website. View Full User Profile

One% CSS Grid - A 12-Column Fluid CSS Grid System

10.28.2012
| 3053 views |
  • submit to reddit

One% CSS Grid is a 12 column fluid CSS grid system. It’s been designed as a base for building responsive web layouts easily, quickly and with minimum effort. You don’t have to take care of resizing and rearanging your layout for each platform separatelly. One% CSS Grid will do all this for you.

One% CSS Grid is a percentage based grid system, it means that it will perfectly adapt to all screen resolutions (mobile, tablets and big screens).

One% CSS Grid has 2 starting options, one which fits 1280px screens (in full screen view) and another one which fits 1024px screens (in full screen view).


Browser & Platform Support

  • One% CSS Grid uses, apart from standard CSS2 definitions, only CSS3 Media Queries, which are well-supported in modern browsers.
  • It’s been tested on Chrome, Opera, Safari, Internet Explorer 9+* and platforms PC, MAC, Android, Apple (iPad, iPhone), even Amazon Kindle.

* It works without problems even on IE7 and IE8 but they don’t support CSS3 Media Queries so it’s necessary to use JavaScript to push them to work with it.

For correct images scaling it’s not necessary to set their height, only width.  If they are bigger than column surrounding them, they will resize automatically according to column width.  Currently, auto-resizing of videos is not supported. It’s necessary to use JavaScript for proper resizing.  For designers there is a Photoshop action file with 2 actions. One for 1200px width grid and another one for 1000px width grid.  Or just simply download PSD templates if you are not friend with Photoshop actions.

Requirements: None
Demo: http://onepcssgrid.mattimling.com/
License: Free

 

 

 

Published at DZone with permission of Hirvesh Munogee, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Tags: