15 lines
342 B
Stylus
15 lines
342 B
Stylus
if hexo-config('plugins.lazyload.blurIn') == true
|
|
img.lazyload:not(.placeholder)
|
|
trans2pro: transform 1s filter 0.25s
|
|
&:not(.loaded)
|
|
filter blur(8px)
|
|
&.loaded
|
|
filter none
|
|
else
|
|
img.lazyload:not(.placeholder)
|
|
trans2pro: transform 1s opacity 0.5s
|
|
&:not(.loaded)
|
|
opacity: 0
|
|
&.loaded
|
|
opacity: 1
|