Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Compass extension for the 1140px fluid layout style

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 stylesheets
Octocat-spinner-32 templates
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 eleven40.gemspec
README.md

eleven40-compass extension

This is a Compass-CSS extension to enable the 1140px fluid layout style, originally described at http://cssgrid.net/

The main problem with the styles provided is that is makes your markup and style non-semantic. Compass and SASS fixes that.

This extension is not quite in line with the original, but will be soon. It currently only has screen and mobile support.

Usage

Mixins

This extension provides mixins to do what the classes in the original did. In general, you can follow this format:

@include eleven40-classname

For example:

@include eleven40-container

replaces the

.container

css class.

The same applies for the row class all the col classes. Make sure you use the eleven40-last mixin for the last column, just like in the css class version.

Mobile

To make a mobile stylesheet, simply:

@import "eleven40/mobile";

This will include the mobile styles that will overload the default screen styles.

Install

gem install eleven40

Something went wrong with that request. Please try again.