the-flex-grid
the-flex-grid copied to clipboard
Negative inline-margin for .row can be a problem
The-flex-grid is awesome, I use it all the time.
The negative inline-margin for .row
is bugging me often though. For example when using a background color for the row, it extends it's container.
The connected inline padding for the .col-x
has it's drawbacks as well with regard to background color.
I think a flexbox grid should use column-gap
for spacing between columns, although I'm not sure how the flex-basis for the different column widths should be set.
Hi Esger, thanks for your request! And also great to hear that you are using it! I agree that we might be able to solve this easier nowadays. I'll pick this up in the next few weeks since this is still a side project for me.