I\'m have a little bit of trouble getting a definitive answer on containers in bootstrap. It\'s clear that you should not nest a .container
within a .con
According to Bootstrap 3 documentation
Note that, due to padding and more, neither container is nestable.
However, in Bootstrap 3 a navbar
has a .container
inside it and at the same time it can all be enveloped by a bigger .container
. So there is a .container
within a .container
and it is not a mistake. To verify that one may look at the page source here, in Bootstrap documentation: https://getbootstrap.com/docs/3.3/examples/navbar/