0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/scss/_grid.scss

47 lines
867 B
SCSS
Raw Normal View History

2012-06-29 06:46:45 +02:00
//
// Grid system
// --------------------------------------------------
// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.
.container {
2014-12-02 23:02:35 +01:00
@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 {
2014-12-02 23:02:35 +01:00
@include make-container();
}
// Row
//
// Rows contain and clear the floats of your columns.
.row {
2014-12-02 23:02:35 +01:00
@include make-row();
}
// Columns
//
// Common styles for small and large grid columns
2014-12-02 23:02:35 +01:00
@include make-grid-columns();