Skip to content

Instantly share code, notes, and snippets.

@dylan
Created July 8, 2010 18:56
Show Gist options
  • Save dylan/468428 to your computer and use it in GitHub Desktop.
Save dylan/468428 to your computer and use it in GitHub Desktop.
/* It would be fantastic if we had a way to iterate through arguments or escape to JS?
From This */
@CSS3: box-shadow, transform, border-radius;
.transition-property(@CSS3);
/* Or This */
.transition-property(box-shadow, transform, border-radius);
/* To This */
transition-property: box-shadow, transform, border-radius;
-webkit-transition-property: -webkit-box-shadow, -webkit-transform, -webkit-border-radius;
-o-transition-property: -o-box-shadow, -o-transform, -o-border-radius;
-moz-transition-property: -moz-box-shadow, -moz-transform, -moz-border-radius;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment