css - If I use .container-fluid in Bootstrap 3, does that mean I need to use grid classes? -
i've read several of answers .container
, .container-fluid
are, missing simple. use column classes col-xs-6, col-md-9, etc., if using .container-fluid? both resize , .container specific sizes, why use col-x-x classes, .container-fluid resizes time, .container-fluid take care of column sizing automatically , "trust" gets right?
the container-fluid
used contain grid (row
+ col-*
) can used other things such headings, tables, etc..
so no, container-fluid
not replacement columns, it's holder of columns. difference between container-fluid
, container
container
not full-width on larger screens. container
fixed width that's centered large margins on sides. container-fluid
doesn't resize, it's 100% width. container demo
if want use responsive grid (rows , columns), need use container or container-fluid this..
<div class="container-fluid"> <div class="row"> (one or more col-*-* here) </div> </div>
or
<div class="container"> <div class="row"> (one or more col-*-* here) </div> </div>
read this article complete explanation.
Comments
Post a Comment