Answer the question
In order to leave comments, you need to log in
How to make responsive 5 columns with padding between them?
Hello.
Something stupid. Can you please tell me how to adaptively lay out five equal-width columns with equal indents between them but without indents at the edges?
Answer the question
In order to leave comments, you need to log in
wrap in a div that needs to be given a minus margin of padding.
.row {margin-left: -15px; margin-right: -15px;}
.col {width: 20%; padding-left: 15px; padding-right: 15px;}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question