https://github.com/kbariotis/gridorous
CSS grid exposed as a function to be used in CSS Modules
https://github.com/kbariotis/gridorous
css-in-js flexbox-grid
Last synced: 11 months ago
JSON representation
CSS grid exposed as a function to be used in CSS Modules
- Host: GitHub
- URL: https://github.com/kbariotis/gridorous
- Owner: kbariotis
- License: mit
- Created: 2018-06-04T21:33:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T22:35:23.000Z (about 8 years ago)
- Last Synced: 2025-02-26T11:14:49.819Z (over 1 year ago)
- Topics: css-in-js, flexbox-grid
- Language: JavaScript
- Size: 140 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Gridorous
> CSS grid exposed as a function to be used in CSS Modules
## Brief
Gridorous provides a set of functions based on the [Flexboxgrid.com](http://flexboxgrid.com/)
than can be used to generate CSS-in-JS objects to be parsed by [glamor](https://github.com/threepointone/glamor)
and possibly other libraries.
## Example
```JavaScript
const {makeRow, makeColXs} = require('gridorous');
const {css} = require('glamor');
module.exports = function () {
return (
Left side
Right side
)
}
```