devlint / gridlex

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

[Feature Request] Variable Class Name Prefix #18

Closed timothyallan closed 8 years ago

timothyallan commented 8 years ago

Great work on the library!

It's making my life much easier, except that I've run into a snag with conflicting CSS names, primarily with the generic "grid" class. I've got a few other libraries which unfortunately also use that name, and it's causing chaos.

Allowing Gridlex to use a class prefix variable would clear off class name re-use issues forever! i.e. gl_grid, gl_col etc...

devlint commented 8 years ago

.grid and .col are now variables in v2.1.1. You can change them in gridlex-vars : @gl-gridName/$gl-gridName and @gl-colName/$gl-colName