devlint / gridlex

Just a CSS Flexbox Grid System
http://gridlex.devlint.fr
MIT License
1.38k stars 145 forks source link

Possible to use through sass as @include? #41

Closed adrianocr closed 7 years ago

adrianocr commented 7 years ago

Foundation 6 does this thing where in your sass files you can go @include grid-column(6) (for 6 columns, but any number from 1-12 is valid) and it generates the styles for you in whatever block you want.

Useful for keeping your classes clean.

Use as so:

.wrapper {
    @include grid-row();
}

.main-block {
    @inclide grid-column(8);
}

.sidebar {
    @include grid-column(4);
}

Is there any to use gridlex as such?

Foundation way: http://foundation.zurb.com/sites/docs/grid.html

devlint commented 7 years ago

Hello, This is not planned at the moment