by efreak · 1mo ago · 0 comments
Issues: - I would avoid autoplay without JavaScript--the only way to make it pause is with hover-state (animation-play-state), it's not possible to start/stop permanently without scripting afaik, though you could make it only auto-play when the cursor is within the borders but not over a button. This is solvable with scripted buttons. - using anchors as bookmarks will snap page scroll to them when you click. Scroll containers and scroll markers[1] proposes to fix this (see the link at the top of the article below), but it's still implemented only in chromium-based browser. This is also solvable with a small amount of JavaScript.
See https://css-tricks.com/css-only-carousel/ (the auto-play once didn't work for me, but see caveat above regarding automatic play without scripting).
No comments yet.