Skip to content

Commit

Permalink
add class for lazyloading only webp
Browse files Browse the repository at this point in the history
  • Loading branch information
nathakits committed May 30, 2017
1 parent 13f653d commit 02b01d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/stylus/components/feature.styl
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,10 @@

.img-placeholder
// nothing here yet

.img-large
.img-small
.img-large-webp
opacity 0

.img-loaded
Expand All @@ -226,7 +227,7 @@
filter blur(50px)
transform scale(1)

.img-large
.img-large-webp
&.lazyloaded
opacity 1
transition: opacity .1s linear
Expand Down

0 comments on commit 02b01d6

Please sign in to comment.