2021-03-04 22:30:56 +08:00
|
|
|
if hexo-config('plugins.lazyload.transition') == 'blur'
|
|
|
|
img.lazyload
|
2021-02-24 22:07:32 +08:00
|
|
|
trans2pro: transform 1s filter 0.25s
|
2021-02-24 21:27:31 +08:00
|
|
|
&:not(.loaded)
|
|
|
|
filter blur(8px)
|
|
|
|
&.loaded
|
|
|
|
filter none
|
2021-03-04 22:30:56 +08:00
|
|
|
.group-body .site-card .card-link>img
|
|
|
|
trans2: box-shadow filter
|
|
|
|
.group-body .user-card .card-link>img
|
|
|
|
trans3: box-shadow filter transform
|
2021-02-24 21:27:31 +08:00
|
|
|
else
|
2021-03-04 22:30:56 +08:00
|
|
|
img.lazyload
|
2021-02-24 22:07:32 +08:00
|
|
|
trans2pro: transform 1s opacity 0.5s
|
2021-02-24 21:27:31 +08:00
|
|
|
&:not(.loaded)
|
|
|
|
opacity: 0
|
|
|
|
&.loaded
|
|
|
|
opacity: 1
|
2021-03-04 22:30:56 +08:00
|
|
|
.group-body .site-card .card-link>img
|
|
|
|
trans2: box-shadow opacity
|
|
|
|
.group-body .user-card .card-link>img
|
|
|
|
trans3: box-shadow opacity transform
|