@charset "UTF-8"; /// Creates Neat a grid column of requested size. /// /// @group features /// /// @name Grid column /// /// @argument {number (unitless)} $columns [null] /// /// @argument {map} $grid [$neat-grid] /// The grid used to generate the column. /// /// @example scss /// .element { /// @include grid-column(3); /// } /// /// @example css /// .element { /// width: calc(25% - 25px); /// float: left; /// margin-left: 20px; /// } @mixin grid-column($columns: null, $grid: $neat-grid) { $columns: _neat-column-default($grid, $columns); $_grid-columns: _retrieve-neat-setting($grid, columns); $_grid-gutter: _retrieve-neat-setting($grid, gutter); width: calc(#{_neat-column-width($grid, $columns)}); float: left; margin-left: $_grid-gutter; }