According to the Bootstrap Docs :
Use .container-fluid for a full width container, spanning the entire width of your viewport.
If you want to fill 15px, add in your CSS:
.container-fluid { padding: 15px; }
However, you can use percentages ( padding: 2% ) or media queries since 15px will look different with different screen resolutions.
Another option: use <div class="container"> instead of <div class="container-fluid"> . This will give you an inline add-on.
source share