Booystrap中container-fluid 与container的区别

container 类和container-fluid类的区别体现在是否有随视口宽度改变的margin存在。 
container类所谓的自适应也是通过margin的改变来完成,container-fluid类的百分百宽度是指在固有的15px的padding前提下宽度总是当前视口的宽度。

.container 会在左右两侧留白边,而且是自动的,不用设置。

.container_fluid 完全撑满, 100%;

原文地址:https://www.cnblogs.com/fengsantianya/p/7798013.html