Sha256: eb91d39b115826255f7ef36daed0d0f59014d7d4dcd8134d01b45feb5c9f6ff2
Contents?: true
Size: 1022 Bytes
Versions: 2
Compression:
Stored size: 1022 Bytes
Contents
// Foundation for Sites by ZURB // foundation.zurb.com // Licensed under MIT Open Source //// /// @group xy-grid //// /// Creates a max width container, designed to house your grid content. /// /// @param {Number} $width [$grid-container] - a width to limit the container to. /// @param {Number} $padding [$grid-container-padding] - paddings of the container. @mixin xy-grid-container( $width: $grid-container, $padding: $grid-container-padding ) { @include xy-gutters($gutters: $padding, $gutter-type: padding); max-width: $width; margin-left: auto; margin-right: auto; } /// Creates a container for your flex cells. /// /// @param {Keyword} $direction [horizontal] - Either horizontal or vertical direction of cells within. /// @param {Boolean} $wrap [true] - If the cells within should wrap or not. @mixin xy-grid( $direction: horizontal, $wrap: true ) { $direction: if($direction == 'horizontal', row, column); $wrap: if($wrap, wrap, nowrap); display: flex; flex-flow: $direction $wrap; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
foundation-rails-6.6.1.0 | vendor/assets/scss/xy-grid/_grid.scss |
foundation-rails-6.5.3.0 | vendor/assets/scss/xy-grid/_grid.scss |