Can you stop an

后端 未结 5 1706
鱼传尺愫
鱼传尺愫 2021-02-18 21:43

Is there any way to stop an tag loading its image by just using CSS? I would like to avoid using JavaScript.

This doesn\'t seem to work (Firebu

5条回答
  •  旧巷少年郎
    2021-02-18 21:56

    You can PRELOAD images using CSS only, but not actually delay the loading of images using CSS only.

    This can, however, be done easily using something like jQuery Lazy Loader, which is MUCH easier than trying to do it by hand.

提交回复
热议问题