ply - A ratio based CSS grid framework
npm install plygridply is a modernized, ratio based css framework built using flex-box. think of ply as the metric system for your grid-based layouts.
the purpose of ply is to provide front-end developers with an immediately understandable framework based on a ratio based grid system, versus arbitrary column based grid systems.
``sh`
$ cd /your-app-path/
$ npm install plygrid --save
`sh`
$ cd /your-app-path/
$ git clone https://github.com/thatgibbyguy/ply.git
An offset, three column layout in ply:
`html`
An offset, three column layout in foundation:
`html`
[ply documentation] is now live.
ply is a framework which aims to simplify the development process by allowing developers to think in rational, base-10, math versus arbitrary and ancient column based layouts.
built on top of flexbox, ply allows developers to ply their craft and focus on executing without worry about structure.
- added helper classes for most cases.
* [SCSS]
* [smacss]
* [Gulp]
`html`
Importing ply this way will allow you to code CSS the way you always have, with ply providing you a base framework for your elements. Make sure that your css file(s) comes after the ply import so that your styles will extend ply functionality.
`sh`
$ npm install
$ gulp/src/scss/styles.scss
This task will watch the file located at . Each time you save this file, gulp will automatically compile, prefix and minify your code. This code is outputted to /dist/css/styles.css and /dist/css/styles.min.css.
To use these styles in your webapp, use the following code:
`html`
gulp styles gulp stylesMin gulp ply gulp plyMin
Each of these gulp commands will output to the /dist/css/` directory and you may use them as you see fit.
Want to contribute? Great! Simply fork this repo and create a Pull Request with your added features!
- Style all form elements
- Add slideout rollover component seen on plygrid.com
- Complete documentation
License
----
MIT
Special thanks to [imperavi] for creating the css framework I could only invision at the time and special thanks to [dillinger.io] for their awesome readme generator.
[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)
[ply documentation]:
[thatgibbyguy]:
[SCSS]:
[git-repo-url]:
[smacss]:
[gulp]:
[dillinger.io]:
[imperavi]: