Skip to content

Instantly share code, notes, and snippets.


Tobias Ahlin tobiasahlin

Block or report user

Report or block tobiasahlin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tobiasahlin / transitions.scss
Created Aug 6, 2014
Sass multiple transitions mixin
View transitions.scss
// Usage: @include transition(width, height 0.3s ease-in-out);
// Output: -webkit-transition(width 0.2s, height 0.3s ease-in-out);
// transition(width 0.2s, height 0.3s ease-in-out);
// Pass in any number of transitions
@mixin transition($transitions...) {
$unfoldedTransitions: ();
@each $transition in $transitions {
$unfoldedTransitions: append($unfoldedTransitions, unfoldTransition($transition), comma);
You can’t perform that action at this time.