- Notifications
You must be signed in to change notification settings - Fork249
The most advanced, yet intuitive, grid system available for Sass or Stylus
License
mojotech/jeet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
7.0.0 breaks a lot of stuff. Be sure to readthe migration guide!
Jeet is a simple fractional grid system forSass andStylus.
Learn theAPI in minutes and begin tossing together grids.
Check this out:
npm install-D jeet
@import'node_modules/jeet/jeet';.container {@includecenter();}.containerdiv {@includecolumn(1/3);}
Jeet functions accept fractions (or float numbers) and generates a percentage width and gutter for grids. We're able to do this while maintaining a consistently-sized, infinitely-nestable, gutter (so long as you provide the parent element's fraction as context).
The API is documented in Sass, but we've worked hard to make the APIvery similar in both preprocessors.@include column(1/2);
in SCSS would becolumn(1/2)
in Stylus, ya dig?
ExploreOfficial Integrations to see some community-backed plugins to your favorite frameworks and libraries.
- IE9+ without help. IE8+ with Selectivizr. Obviously always use Autoprefixer.
About
The most advanced, yet intuitive, grid system available for Sass or Stylus