Answer the question
In order to leave comments, you need to log in
How to properly use bootstrap container?
Good afternoon! How to properly wrap columns in a bootstrap container?
If the whole page is built on a grid. TO is worth 1 time at the beginning to set as in the first example, or still do as in the second.
<div id="wrapper" class="container">
<header>
<div class="row">
<div class="col-md-12">
</div>
</div>
</header>
<nav>
<div class="row">
<div class="col-md-12">
</div>
</div>
</nav>
</div>
<body>
<header>
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</header>
<nav>
<div class="container">
<div class="row">
<div class="col-md-12">
</div>
</div>
</div>
</nav>
</body>
Answer the question
In order to leave comments, you need to log in
It's more convenient for you)!
Sometimes, for example, there is a need to make several blocks with different backgrounds for the entire width, respectively, we set the background in the block and place the container in it, and the next one in the same way)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question