Sha256: 8de643eda90b35a4943a50372a7cba2b289d2a078ac76340bb3ac97f81586879
Contents?: true
Size: 897 Bytes
Versions: 4
Compression:
Stored size: 897 Bytes
Contents
// Calculate the width of an individual grid column. // Take into account max widths and gutters. @function grid-span($n, $columns, $width: $grid-width, $gutter: $grid-gutter) { @return span-width($n, $columns, $width, $gutter); } // Styles for the grid row containing the columns. @mixin grid-row($width: $grid-width) { width: $width; max-width: $width; @include clear-fix; } // Styles for the individual grid column. @mixin grid-column($width: $grid-width, $gutter: $grid-gutter) { position: relative; min-height: 1px; float: $align-direction; @if $gutter { & + & { margin-#{$align-direction}: gutter($width, $gutter); } } // End capping &#{$grid-class-end} { @if $gutter { margin-#{$align-opposite-direction}: 0 !important; } float: $align-opposite-direction !important; } }
Version data entries
4 entries across 4 versions & 1 rubygems