Sha256: cd03441a1480c6606c26d993eefe4d34549e59cdae8c5363122c335c01a61e18
Contents?: true
Size: 955 Bytes
Versions: 38
Compression:
Stored size: 955 Bytes
Contents
// helper -pos(type, args) i = 0 position: unquote(type) for j in (1..4) if length(args) > i {args[i]}: args[i + 1] is a 'unit' ? args[i += 1] : 0 i += 1 /* * Position utility. * * Synopsis: * * fixed: <pos> [n] <pos> [n] * * Examples: * * fixed: top left * fixed: top 5px left * fixed: top left 5px * fixed: top 5px left 5px * */ fixed() -pos('fixed', arguments) /* * Position utility. * * Synopsis: * * absolute: <pos> [n] <pos> [n] * * Examples: * * absolute: top left * absolute: top 5px left * absolute: top left 5px * absolute: top 5px left 5px * */ absolute() -pos('absolute', arguments) /* * Position utility. * * Synopsis: * * relative: <pos> [n] <pos> [n] * * Examples: * * relative: top left * relative: top 5px left * relative: top left 5px * relative: top 5px left 5px * */ relative() -pos('relative', arguments)
Version data entries
38 entries across 19 versions & 1 rubygems