Skip to content

Instantly share code, notes, and snippets.

Jesse Yuen jesseyuen

Block or report user

Report or block jesseyuen

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
@jesseyuen
jesseyuen / examples
Last active Apr 8, 2019
Code examples for Reduced Motion Queries
View examples
/*Learn more: https://jesseyuen.com/motion-queries-in-the-wild/*/
/* Quick and dirty attempt to remove ALL the motion */
@media (prefers-reduced-motion) {
*,
*:before,
*:after {
animation: unset !important;
transition: none !important;
}
View Velocity experiments
// Velocity Animation
function initVelocity () {
var pos = 0,
delay = 200,
delayLong = 400,
duration = 500,
home = $('.is-front-page');
You can’t perform that action at this time.