shinsenter / defer.js

🥇 A lightweight JavaScript library that helps you lazy load (almost) anything. Defer.js is dependency-free, highly efficient, and optimized for Web Vitals.
https://shinsenter.github.io/defer.js/
MIT License
277 stars 45 forks source link

docs (div tags): usage with background image assigned via ID in CSS #97

Closed sabrina-zeidan closed 3 years ago

sabrina-zeidan commented 3 years ago

Related to Issue #96.

shinsenter commented 3 years ago

@sabrina-zeidan

Thank you for your contribution.

Your approach is acceptable, but it is an example that cannot be typical when you want to apply same rule to many different elements.

I will review and update the document to be more specific to the issue you raised.

shinsenter commented 3 years ago

Using #98