Skip to content

Instantly share code, notes, and snippets.


Jason Yu ycmjason

Block or report user

Report or block ycmjason

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
ycmjason / transitions.scss
Created Feb 3, 2018 — forked from tobiasahlin/transitions.scss
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.