From 02b01d6ef78f3456394c8f790ce82646f06bb63d Mon Sep 17 00:00:00 2001 From: Nathakit Date: Tue, 30 May 2017 17:27:43 +0700 Subject: [PATCH] add class for lazyloading only webp --- assets/stylus/components/feature.styl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/stylus/components/feature.styl b/assets/stylus/components/feature.styl index 480d930d..8271decb 100644 --- a/assets/stylus/components/feature.styl +++ b/assets/stylus/components/feature.styl @@ -211,9 +211,10 @@ .img-placeholder // nothing here yet - + .img-large .img-small +.img-large-webp opacity 0 .img-loaded @@ -226,7 +227,7 @@ filter blur(50px) transform scale(1) -.img-large +.img-large-webp &.lazyloaded opacity 1 transition: opacity .1s linear