Sha256: 00258e80771616b7475bf7d3e962b357fd4ecadb9264ac151265047dc38b3fa6
Contents?: true
Size: 388 Bytes
Versions: 1
Compression:
Stored size: 388 Bytes
Contents
// "Snaps" an asymmetric grid to a symmetric one by including gutters in the grid definitions // Will only work properly with integer asymmetric grids @function snap($grid, $gutter) { $holder: (); @each $column in $grid { $base: $column; $gutters: ($base - 1) * $gutter; $total: $base + $gutters; $holder: append($holder, $total, 'space'); } @return $holder; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
singularity-extras-0.0.3 | stylesheets/singularity-extras/generators/_snap.scss |