Skip to content

Instantly share code, notes, and snippets.

View raRaRa's full-sized avatar
drinking coffee

Jón Trausti raRaRa

drinking coffee
View GitHub Profile
@vieron
vieron / transitions.scss
Created July 20, 2013 18:20
Sass-mixins-for-vendor-prefixed transitions-including-properties
@function prefix($property, $prefixes: (webkit moz o ms)) {
$vendor-prefixed-properties: transform background-clip background-size;
$result: ();
@each $prefix in $prefixes {
@if index($vendor-prefixed-properties, $property) {
$property: -#{$prefix}-#{$property}
}
$result: append($result, $property);
}
@return $result;