background preloader

A responsive CSS grid system helping desktop and mobile browsers play nicely together.

A responsive CSS grid system helping desktop and mobile browsers play nicely together.

Fluid Baseline Grid - A sensible HTML5 and CSS3 development kit The Semantic Grid System CSS Smart Grid — A Lightweight, Responsive, Mobile First 960 Grid As a Grid System There's only one CSS file to include: smart-grid.css . Place that in <head> your own stylesheet. Wrap your page inside a <div class="container"> . Note that you can use more than one container if your need calls for it: <header id= "hd" > <div class= "container" > <h1> My Page Title </h1> </div> </header> <section id= "main" > <div class= "container" > <p> This is where my content goes. Column Markup Grid columns are achieved by adding a column class to any element. <div class= "container" > <div class= "row" > <article id= "main" role= "main" class= "columns two-thirds" > <p> The beginning of the best article in the history of humanity. If you only have one row of columns in a container, you can ommit the row: <div class= "container" > <article id= "main" role= "main" class= "columns two-thirds" > <p> The beginning of the best article in the history of humanity. Column Offsets Sometimes you need a blank column between content.

Responsive Web Design just got Easier with the Responsive Grid System Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development Golden Grid System GGS was my next step after Less Framework. Instead of a fixed-width grid, it used a fully fluid-width one, without even a maximum width. The resources it was published with are still available on GitHub. The idea was to take a 18-column grid, use the outermost columns as margins, and use the remaining 16 to lay elements out. On smaller screens the 16 columns could be folded into 8, 4 and 2. While the grid's columns were fluid — proportional to the screen's width — the gutters (spaces between the columns) were proportional to the font-size being used. GGS also contained a set of typographic presets, strictly to a baseline grid. Correctly setting all of these measurements is difficult, of course. When published, GGS gained a lot of attention, as the web design community was searching ways to work with fluid-width grids, which have always been troublesome, running counter to many graphic design principles. Later on I developed Frameless, the last entry in my early CSS grid system saga.

The Goldilocks Approach to Responsive Web Design 34 Responsive Grid System

Related: