Answer the question
In order to leave comments, you need to log in
What is the best way to build a grid?
Hello!
Question about indents when developing a grid. There are several options, this is through margin-right, and remove the last one, margin around the edges, and the container has margin. Padding.
Which option is more convenient and versatile in further development?
Answer the question
In order to leave comments, you need to log in
The most modern flexbox.
The bootstrap uses a negative margin for row and padding for float columns.
I use inline-blocks a lot as columns, though I use margin-right: -4px to remove the space between them. But then we can center the column layout with text-align on the container.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question