Test 16
This version has some tweaks to improve performance. Namely:
Changes made
-
Lazy-load images
-
Preconnect hint
-
Autoplay scoped to viewport
WrappedstartAuto()
/stopAuto()
in anIntersectionObserver
so the carousel only spins when ≥50% of it is on-screen. -
CSS containment & will-change
Test 16
Skip the picture gallery below and go to next content
Use left & right arrow keys to navigate slides