Skip to content

Instantly share code, notes, and snippets.

@joonassandell
Last active March 23, 2023 16:40
Show Gist options
  • Save joonassandell/62ca3ff8bc168e69c5d7 to your computer and use it in GitHub Desktop.
Save joonassandell/62ca3ff8bc168e69c5d7 to your computer and use it in GitHub Desktop.
Sass easing configurations (for Rebirth etc.)
// ========================================
// Easings
// ========================================
$ease-inOut: ease-in-out;
$ease-outSine: cubic-bezier(0.39, 0.575, 0.565, 1);
$ease-inOutSine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
$ease-inQuad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
$ease-outQuad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
$ease-inOutQuad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
$ease-inCubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
$ease-outCubic: cubic-bezier(0.215, 0.61, 0.355, 1);
$ease-inOutCubic: cubic-bezier(0.645, 0.045, 0.355, 1);
$ease-inQuart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
$ease-outQuart: cubic-bezier(0.165, 0.84, 0.44, 1);
$ease-inOutQuart: cubic-bezier(0.77, 0, 0.175, 1);
$ease-inQuint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
$ease-outQuint: cubic-bezier(0.23, 1, 0.32, 1);
$ease-inOutQuint: cubic-bezier(0.86, 0, 0.07, 1);
$ease-inExpo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
$ease-outExpo: cubic-bezier(0.19, 1, 0.22, 1);
$ease-inOutExpo: cubic-bezier(1, 0, 0, 1);
$ease-inCirc: cubic-bezier(0.6, 0.04, 0.98, 0.335);
$ease-outCirc: cubic-bezier(0.075, 0.82, 0.165, 1);
$ease-inOutCirc: cubic-bezier(0.785, 0.135, 0.15, 0.86);
$ease-inBack: cubic-bezier(0.6, -0.28, 0.735, 0.045);
$ease-outBack: cubic-bezier(0.175, 0.885, 0.32, 1.275);
$ease-inOutBack: cubic-bezier(0.68, -0.55, 0.265, 1.55);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment