Skip to content

Instantly share code, notes, and snippets.

@ericf
Created November 15, 2013 04:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericf/7479228 to your computer and use it in GitHub Desktop.
Save ericf/7479228 to your computer and use it in GitHub Desktop.
> var css = rework('').use(pureGrids.units(8)).toString();
undefined
> console.log(css);
.pure-u-1-8,
.pure-u-2-8,
.pure-u-1-4,
.pure-u-3-8,
.pure-u-4-8,
.pure-u-1-2,
.pure-u-5-8,
.pure-u-6-8,
.pure-u-3-4,
.pure-u-7-8,
.pure-u-8-8,
.pure-u-1 {
display: inline-block;
*display: inline;
zoom: 1;
letter-spacing: normal;
word-spacing: normal;
vertical-align: top;
text-rendering: auto;
}
.pure-u-1-8 {
width: 12.5000%;
*width: 12.4690%;
}
.pure-u-2-8,
.pure-u-1-4 {
width: 25%;
*width: 24.9690%;
}
.pure-u-3-8 {
width: 37.5000%;
*width: 37.4690%;
}
.pure-u-4-8,
.pure-u-1-2 {
width: 50%;
*width: 49.9690%;
}
.pure-u-5-8 {
width: 62.5000%;
*width: 62.4690%;
}
.pure-u-6-8,
.pure-u-3-4 {
width: 75%;
*width: 74.9690%;
}
.pure-u-7-8 {
width: 87.5000%;
*width: 87.4690%;
}
.pure-u-8-8,
.pure-u-1 {
width: 100%;
}
undefined
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment