Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aocenas/layoutize
Create simple layouts fast
https://github.com/aocenas/layoutize
Last synced: 10 days ago
JSON representation
Create simple layouts fast
- Host: GitHub
- URL: https://github.com/aocenas/layoutize
- Owner: aocenas
- Created: 2012-09-17T19:18:30.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-22T11:02:41.000Z (about 12 years ago)
- Last Synced: 2024-05-03T21:12:08.667Z (6 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Create simple layouts fast
Example:
```bash
layoutize -i "o3,2,2|3,4"
```
Will create this output:
```
.row
.span2.offset3
.span2
.row
.span3
.span4
```Or if you like plain html more:
```
layoutize -F html -i "o3,2,2|3,4"
```Or in javascript:
```javascript
var layoutize = require('layoutize');
var layout = layoutize('o3,2,2|3,4').jade();
layout.html();
layout.jade();
```