METAL V0.2.3 - Responsive CSS Grid

FAST RESPONSIVE WEBSITES

Metal Grid is another responsive CSS grid that hopes to be easy to use and hopefully grow with help from the community.

It is my intention to use this grid for building responsive sites really fast. For now the grid.css is under ~6Kb uncompressed and was build so it's easily modifiable by you.

The grid was inspired mostly by two of the well known CSS grids:

Unfortunately there is no way(that I know) to build a semantically correct grid so please take the code and use to build your own CSS structure.

Kudos to all people and resources that inspired me, one way or the other:

Features

Simple to use

Just make sure you understand the class system and how they are resized based on the screen resolution.

Go ahead, resize the browser.

Easily configurable

You can easily configure the columns widths based on the screen resolution. Just check the @media screen code in the grid.css file.

View grid.css

Morph un-equal columns

More flexibility added by using un-equal columns. The columns can be easily configured to morph from one size to another.

Resize the browser and check the last 5 rows of the demo

Resize steps

Easily configure how the grid will resize and morph at different screen resolutions.

Just modify or add code in the grid.css

Extra Five

Additional to the 12, 6, 4, 3, 2, 1 columns you can use the .extraFive class to create a 5 column grid.

Grid in Grid

Now you can use a grid inside another grid. Two new classe were intoduced to make this possible: .isGrid and .hasGrid

See demo

Quick Demo

One

One

One

One

One

One

One

One

One

One

One

One

Two

Two

Two

Two

Two

Two

Three

Three

Three

Three

Four

Four

Four

Six

Six

Twelve

Twelve

Extra Five

Extra Five

Extra Five

Extra Five

Extra Five

One

Eleven

Two

Ten

Three

Nine

Four

Eight

Five

Seven

Standalone demos

Used classes

Containers: .container, .row
Equal width classes: .oneCol, .twoCol, .threeCol, .fourCol, .sixCol, twelveCol and .extraFive
Un-equal morphable classes: .oneElevenCol, .elevenOneCol, .twoTenCol, .tenTwoCol, threeNineCol, .nineThreeCol, fourEightCol, .eightFourCol, .fiveSevenCol, .sevenFiveCol

"Table Grid in Grid" plugin for MODX Evolution CMS

TGIG plugin allows you to create grids from html tables. The plugin parses the html, finds all the tables without id, class and border and replaces them with the appropriate divs to make a grid.

See table-grid-in-grid/tgig-evolution.php file for details.

Download and Contact

Download Metal CSS Grid on GitHub. Contact is currently only available via GitHub; please send me your requests and features using the issues functionality.

Open Source

Permission is hereby granted, free of charge, to any person bla bla bla …

See MIT

Browser Support

The grid was tested in Firefox, Chrome, Safari and IE9. If you want to support media queries in IE8 and below I recommend using a javascript solution. A simpler solution for IE8 and below would be to set a fixed width on the container.

Device Support

Tested on iPhone and iPad. Should work as expected on Android and Blackberry devices or any other type of devices that use a modern browser.

Files

To start your project you only need to add the grid.css file to your project. The demos use normalize.css and a basic style file demo.css

Download and test

Please download on github, test and contribute.