Lazyload does not work well with responsive image CSS code
-
Hi,
I have experience the issue of using responsive image CSS code with SG Optimizer placeholder image:
This is a preset Tailwind CSS code to handle responsive image.
max-width: 100%; height: auto;The SG Optimizer placeholder image
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 appears in square because the CSS height auto, then return to the original image size after image loaded. It will appear sudden jump from square to horizontal image. This also causes the issue when I use Flickity slider that it won’t calculate the container height correctly.Please help me fix this issue. Thanks.
- The topic ‘Lazyload does not work well with responsive image CSS code’ is closed to new replies.