E
E
Evgeny Karpov2017-08-10 09:05:44
css
Evgeny Karpov, 2017-08-10 09:05:44

How to remove padding in bootstrap on the sides of a container?

How to remove margins from the container at the edges on the right and left. For example, there is .container>.row>(.col-md-3)*6 or ...(.col-md-3)*8, you need an indent between columns, but remove them to the right and left of them. padding-left/right, first-child/last-child are also not the best options

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Rostislav Sergeevich, 2017-08-10
@ewal

Bootstrap styles have been defined by the developers and are not meant to be changed. You can simply override them by including the style file after including the css file with bootstrap.

D
Dmitry, 2017-08-10
@sonics

the row class removes 15 pixels each
, you will remove them

E
Evgeny Karpov, 2017-08-10
@ewal

8b47a60daa9a4d5b82a08b2b4a2c63c9.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question