Sunday, February 5, 2017

Bootstrap container vs container-fluid

I am Lazy :-)  Just copy & paste from Bootstrap official website.. he he he..


Containers

Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to padding and more, neither container is nestable.
Use .container for a responsive fixed width container.
Copy
class="container"> ...
Use .container-fluid for a full width container, spanning the entire width of your viewport.
Copy
class="container-fluid"> ...

No comments: