Just out of curiosity, why bootstrap uses -15px
left and right margin
s which going to cancel the 15px
left and right padding
on .container
and .container-fluid
classes.
Why set padding and then cancel it with a negative margin on the child?
A negative margin on row avoids the blank space that would be left because of padding of first column. In its absence the whole layout will look a little indented.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With