I hereby claim:
- I am ddx32 on github.
- I am cerulean (https://keybase.io/cerulean) on keybase.
- I have a public key ASCOlfFmFWdY6jXk3LpfaQVlEViKLDa6Phyd9EYioy8n5Qo
To claim this, I am signing this object:
function isElementInViewport (el) { | |
var rect = el.getBoundingClientRect(); | |
return ( rect.top <= (window.innerHeight || document.documentElement.clientHeight) - document.documentElement.clientHeight * 0.6 ); | |
} | |
var el = document.querySelectorAll('.item'); | |
var handler = function() { | |
for (var i = 0; i < el.length; i++) { |
I hereby claim:
To claim this, I am signing this object:
/* | |
An extension of andyl's hack – https://gist.github.com/andyl/6360906 | |
in a mixin version. | |
*/ | |
@import 'bootstrap'; // if you haven't already | |
@screen-ms-min: 480px; | |
.make-ms-column(@columns; @gutter: @grid-gutter-width) { |