css: .container-fluid 100%

Force .container-fluid to be 100% width no matter if the parent is flex, or not.

Pen: http://codepen.io/zalog/pen/yMwyGr
This commit is contained in:
Catalin Zalog 2017-04-03 18:16:54 +03:00 committed by Mark Otto
parent e6e070b02a
commit 094b3a1293
1 changed files with 3 additions and 2 deletions

View File

@ -11,11 +11,12 @@
// Fluid container
//
// Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts.
// Utilizes the mixin meant for fixed width containers, but with 100% width for
// fluid, full width layouts.
@if $enable-grid-classes {
.container-fluid {
width: 100%;
@include make-container();
}
}