Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kdevo/osprey-delight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToma Nistor <toma.nistor@fishawack.com>2019-06-02 04:15:55 +0300
committerToma Nistor <toma.nistor@fishawack.com>2019-06-02 04:15:55 +0300
commitde63d878453058293d03fa588ffee5f8bf82d733 (patch)
tree142baf0ab45f012173e05df97498fca4c24a5ec9
parentf4a49ad9dca809ecb6f2c38b0743bae3475b7b87 (diff)
Fixed lazyloading image flash on load
-rw-r--r--layouts/partials/head.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index abc8351..20d3e4d 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -95,6 +95,7 @@
{{ end }}
{{ if .Site.Params.lazyLoading }}
+ <style>.lazyload{opacity:0.0001;}</style>
<script src="/scripts/vendor/lazysizes.min.js" async></script>
{{ end }}
</head>