From 1503cc8a57501c1207a7db31b38d869a6b3358ca Mon Sep 17 00:00:00 2001 From: nathakit sae-tan Date: Tue, 30 May 2017 00:59:38 +0700 Subject: [PATCH] update styling for lazyload img --- assets/stylus/components/feature.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/assets/stylus/components/feature.styl b/assets/stylus/components/feature.styl index d3840c91..f347bc5a 100644 --- a/assets/stylus/components/feature.styl +++ b/assets/stylus/components/feature.styl @@ -209,6 +209,12 @@ background-size cover backface-visibility: hidden +figure + img + object-fit contain + .lazy-img + padding-bottom: 56.25%; + .img-placeholder // nothing here yet