Change Bootstrap Boot Container Width

I want to change the default width of the load container, which is equal to 1170px.
Is it possible to override such parameters?

@media (min-width: 1200px) {
    .container {
        width: desired_width;
    }
}

Is that all I really have to do?

+4
source share
1 answer

It is incorrect to directly edit the compiled (and possibly reduced) CSS file. He considered bad practice and should be avoided.

, Bootstrap. , Bootstrap; CSS, SASS LESS, (. variables.less). http://getbootstrap.com/customize/, .

- , .

, , , @container-large-desktop @screen-lg ( , ).

+1
source

Source: https://habr.com/ru/post/1547333/


All Articles