Powerful Flexbox based Grid System for modern browsers.
https://tsuyoshiwada.github.io/lime-grid.css/
To install the stable version.
$ npm install lime-grid.css --save
# or
$ yarn add lime-grid.cssOr download lime-grid.min.css.
@import'lime-grid.css';<linkrel="stylesheet" href="/path/to/lime-grid.min.css">Once you can include the file, let's build the HTML with reference to the document.
<divclass="container"><divclass="row row-xs-center"><divclass="col-xs-12 col-sm-12 col-md-8 col-lg-4 col-xl-4"></div><divclass="col-xs-12 col-sm-12 col-md-8 col-lg-4 col-xl-4"></div></div></div>See Documentation.
You can do custom build using PostCSS.
The following plugins is necessary for the build.
Although not required, we recommend using the following plugin.
- Include CSS Variables and Custom media.
- Override variables.
- Include Grid System.
Example:
@import'lime-grid.css/src/variables.css';
/* Change options */:root {
--container-width-xs: auto;
--container-width-sm:540px;
--container-width-md:720px;
--container-width-lg:960px;
--container-width-xl:1150px;
}
@import'lime-grid.css/src/grid-system.css';
/* ...Your stylesheet */For details of CSS variables, see src/variables.css.
See CHANGELOG.md
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Run
$ npm test - Push to the branch: git push origin my-new-feature
- Submit a pull request :D
Bugs, feature requests and comments are more than welcome in the issues.
