Sha256: e40b1a35bfde2c0537bbfb0848b83f66af6348a534adff59d29be54a951fd084
Contents?: true
Size: 960 Bytes
Versions: 2
Compression:
Stored size: 960 Bytes
Contents
/* Prefix properties and values ---------------------------------------- */ $default-prefixes: -webkit, -moz, -o, -khtml, -ms; @mixin prefix($property, $value, $prefixes: $default-prefixes) { // Unquote the values $property : unquote($property); $value : unquote($value); // Loop through the prefixes given @each $prefix in $prefixes { #{$prefix}-#{$property}:$value; } } @mixin prefix-value($property, $value, $prefixes: $default-prefixes) { // Unquote the values $property : unquote($property); $value : unquote($value); // Loop through the prefixes given @each $prefix in $prefixes { #{$property}:#{$prefix}-#{$value}; } } /** * Allows you to import a file only once * @param $name string File to import */ $imported-once-files: (); @function import-once($name) { @if index($imported-once-files, $name) { @return false; } $imported-once-files: append($imported-once-files, $name); @return true; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stitch-0.1.1 | stylesheets/stitch/_utilities.scss |
stitch-0.1.0 | stylesheets/stitch/_utilities.scss |