Your browser doesn't support
animation-timeline
.
Please, try this demo on Chrome Canary with the
--enable-experimental-web-platform-features
flag enabled.
Use the navigation or swipe left/right on the carousel.
— No JS required —
When you click on a dot (anchor) the
page could scroll vertically so I've set a smooth
scroll-behavior
and a
scroll-padding-top
on the root.
Every dot is a permalink as well, thus
you may even share a URL showing a specific
slide of the carousel on page load.
Demo with images Demo with images (advanced, experimental) Follow me on Twitter