coordinates
view sourceA shorthand for assigning coordinates to an element.
- use-name
-
scut-coords - type
- mixin only
- arguments
-
-
$coordinates- default
-
n n n n
-
You may want to use this mixin on its own — but this mixin's primary purpose is to facilitate the positioning mixins: scut-absolute, scut-relative, and scut-fixed, which pair your coordinates with a position value.
Some guidlines for this mixin and its followers:
n(the default value) signifiesnullor "nothing" or "no" — so any coordinate assignednis simply ignored, creating no rule in your compiled CSS.acan abbreviateauto(both will work).- All four values must be passed, so use
nas needed.
A list:
top,right,bottom, andleftcoordinates.nabbreviatesnull.ais interchangeable withauto. See below.