Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

19 lines (18 sloc) 554 Bytes
// GRID MEASUREMENTS
@function grid($units, $measure: $module-w)
@return (($measure * $units) + ($gutter * ($units - 1)))
$vertical-grid: false !default
=location($across: 1, $width: 1, $down: 1, $height: 1)
position: absolute
margin-left: grid($across, $module-w) - $module-w
@if $vertical-grid
top: (grid($down, $module-h) - $module-h) + $top
@if $width == "auto"
width: auto
@else
width: grid($width, $module-w)
@if $vertical-grid
@if $height == "auto"
height: auto
@else
height: grid($height, $module-h)
You can’t perform that action at this time.