Line 972: | Line 972: | ||
float: none; | float: none; | ||
} | } | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | .container | ||
+ | { | ||
+ | display:table; | ||
+ | width: 100%; | ||
+ | margin-top: -50px; | ||
+ | padding: 50px 0 0 0; /*set left/right padding according to needs*/ | ||
+ | -moz-box-sizing: border-box; | ||
+ | box-sizing: border-box; | ||
+ | } | ||
+ | header | ||
+ | { | ||
+ | background: green; | ||
+ | height: 50px; | ||
+ | } | ||
+ | |||
+ | .row | ||
+ | { | ||
+ | height: 100%; | ||
+ | display: table-row; | ||
+ | } | ||
+ | @media (min-width: 992px) { | ||
+ | .row .no-float { | ||
+ | display: table-cell; | ||
+ | float: none; | ||
+ | } | ||
+ | } | ||
+ | .col-md-3 { | ||
+ | background: pink; | ||
+ | } | ||
+ | .col-md-9 { | ||
+ | background: yellow; | ||
} | } | ||
Revision as of 21:05, 14 October 2016