Sha256: a5cd160d9b12da10f7764832b9babaafd902ad7e680dbd46b1cee4acc0c3a1d1
Contents?: true
Size: 520 Bytes
Versions: 31
Compression:
Stored size: 520 Bytes
Contents
@mixin position ($position: relative, $coordinates: 0 0 0 0) { @if type-of($position) == list { $coordinates: $position; $position: relative; } $top: nth($coordinates, 1); $right: nth($coordinates, 2); $bottom: nth($coordinates, 3); $left: nth($coordinates, 4); position: $position; @if not(unitless($top)) { top: $top; } @if not(unitless($right)) { right: $right; } @if not(unitless($bottom)) { bottom: $bottom; } @if not(unitless($left)) { left: $left; } }
Version data entries
31 entries across 31 versions & 3 rubygems