Skip to content

Instantly share code, notes, and snippets.

Antoine Lehurt kewah

Block or report user

Report or block kewah

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
kewah / lethargy.js
Last active Aug 29, 2015
Module that kills inertia on scroll and returns direction
View lethargy.js
// From and lightly modified
module.exports = function(stability, sensitivity, tolerance) {
return new Lethargy(stability, sensitivity, tolerance);
function Lethargy(stability, sensitivity, tolerance) {
// Defaults
View _media-queries.scss
// Media Queries in Sass 3.2
// These mixins make media queries a breeze with Sass.
// The media queries from mobile up until desktop all
// trigger at different points along the way
// And important point to remember is that and width
// over the portrait width is considered to be part of the
// landscape width. This allows us to capture widths of devices
// that might not fit the dimensions exactly. This means the break
You can’t perform that action at this time.