Sha256: a087ef6eae67314da1dd789d94e34748a1e306c59120c23e2a3993b887baa87d
Contents?: true
Size: 601 Bytes
Versions: 68
Compression:
Stored size: 601 Bytes
Contents
// // Gray shorthand // // @param value (0..255) // @param transparency (0..1) // // example: // body { color: gray(50); } => rgba(50,50,50, 1) // body { background-color: gray(150, 0.5); } => rgba(150,150,150, 0.5) // @function gray($value, $transparency: 1) { @return rgba($value, $value, $value, $transparency); } // // Spiderman is a mixin to position absolute an element in another // element top to bottom, left to right // // @param $offset Offset from the edge // @mixin spiderman($offset: 0) { bottom: $offset; left: $offset; position: absolute; right: $offset; top: $offset; }
Version data entries
68 entries across 68 versions & 1 rubygems