![]() You can use the loading attribute to completely defer the loading of offscreen images that can be reached by scrolling: Images below the viewport are loaded with a lower priority, but they're still fetched as soon as possible. The loading attribute #Ĭhrome loads images at different priorities depending on where they're located with respect to the device viewport. Browser-level lazy loading also ensures that deferred loading of images still works even if JavaScript is disabled on the client. With lazy-loading supported directly by the browser, however, there's no need for an external library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |