Why does the "container" class in Bootstrap leave side spaces on the page? This is normal?

1

Why does the "container" class in Bootstrap leave side spaces on the page? Is this normal or am I forgetting something?

I need to know how to change the height of each row , as I tried to use height and it does not recognize.

    
asked by anonymous 26.10.2017 / 14:56

1 answer

3

Yes, it is normal. In fact, this is in the documentation .

If you want to take advantage of the side space, you can use the container-fluid class.

See an example. Note: Unfortunately it does not work right at the original size, click " All Page " to test.

.blue { 
  background-color: lightblue;
}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<div class="blue container">
Texto
</div>

<div class="blue container-fluid">
Texto
</div>
    
26.10.2017 / 15:01