Sha256: f0a633db3115db3f6933186f477b44a903892edf7542e13c61bcd067029011e8
Contents?: true
Size: 718 Bytes
Versions: 60
Compression:
Stored size: 718 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 $top == auto { top: $top; } @else if not(unitless($top)) { top: $top; } @if $right == auto { right: $right; } @else if not(unitless($right)) { right: $right; } @if $bottom == auto { bottom: $bottom; } @else if not(unitless($bottom)) { bottom: $bottom; } @if $left == auto { left: $left; } @else if not(unitless($left)) { left: $left; } }
Version data entries
60 entries across 60 versions & 8 rubygems