mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
refactor(core): optimize image loading
- JavaScript runs so fast that LQIP will never be detected - Increase the running priority of image processing in posts Enhancement for #1267
This commit is contained in:
@@ -71,9 +71,9 @@ a {
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
transition: all 0.7s ease-in-out;
|
||||
transition: all 0.35s ease-in-out;
|
||||
|
||||
&[data-lqip='true'] {
|
||||
.blur & {
|
||||
$blur: 20px;
|
||||
|
||||
-webkit-filter: blur($blur);
|
||||
|
||||
Reference in New Issue
Block a user