diff --git a/_posts/demos/2011-01-02-infinite-scroll.html b/_posts/demos/2011-01-02-infinite-scroll.html index a2c96f2..1e5dfd2 100644 --- a/_posts/demos/2011-01-02-infinite-scroll.html +++ b/_posts/demos/2011-01-02-infinite-scroll.html @@ -10,7 +10,7 @@ infinite_scroll: true

Isotope is interoperable with Infinite Scroll by Paul Irish. Use the appended method to add new items to the Isotope layout.

-
+
{% for element in site.elements_ordered limit:20 %} {% include element-partial.html %} {% endfor %} diff --git a/css/style.css b/css/style.css index 294f566..b4b7507 100644 --- a/css/style.css +++ b/css/style.css @@ -245,6 +245,14 @@ body { transition-property: height, width; } +/* disable CSS transitions for containers with infinite scrolling*/ +.isotope.infinite-scrolling { + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} + .isotope .isotope-item { -webkit-transition-property: -webkit-transform, opacity; -moz-transition-property: -moz-transform, opacity;