gridlex
gridlex copied to clipboard
[Idea] Specify differents actions on breakpoint
Hello there,
I just started to work with your grid system and I have to say it's pretty awesome. Very good job to you!
Anyway I have a little request for you. It should be great to specify for each breakpoints what we want to do with our grid with data-attribute or whatever.
For exemple:
.grid[data-xs="column wrap-reverse justifyCenter alignStretch"][data-sm="row-reverse nowrap justifyCenter"]
etc. etc.
Same for cols:
.col-[data-xs="-1 1 0 auto flex-start"]
(order / flex / align-self)
What do you guys think about that ?
Thanks!
I think this looks way to complex, if I needed such a level of customization I'd rather add the styling in the CSS directly. What if you need to change it in several pages?