mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
93f51eb0e9
Breakpoints and container widths are now defined as maps.
46 lines
867 B
SCSS
46 lines
867 B
SCSS
//
|
|
// Grid system
|
|
// --------------------------------------------------
|
|
|
|
|
|
// Container widths
|
|
//
|
|
// Set the container width, and override it for fixed navbars in media queries.
|
|
|
|
.container {
|
|
@include make-container();
|
|
|
|
// For each breakpoint, define the maximum width of the container in a media query
|
|
@each $breakpoint, $container-max-width in $container-max-widths {
|
|
@include media-breakpoint-min($breakpoint) {
|
|
max-width: $container-max-width;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// Fluid container
|
|
//
|
|
// Utilizes the mixin meant for fixed width containers, but without any defined
|
|
// width for fluid, full width layouts.
|
|
|
|
.container-fluid {
|
|
@include make-container();
|
|
}
|
|
|
|
|
|
// Row
|
|
//
|
|
// Rows contain and clear the floats of your columns.
|
|
|
|
.row {
|
|
@include make-row();
|
|
}
|
|
|
|
|
|
// Columns
|
|
//
|
|
// Common styles for small and large grid columns
|
|
|
|
@include make-grid-columns();
|
|
|