Anchor Tag Isolation?

Is it possible to limit how an anchor tag works without Java? A site I use doesn't allow Java, so I thought I could maybe implement this carousel I found on Codepen. https://codepen.io/Schepp/pen/WNbQByE?editors=1100**** Also I can't use input, labels and radio. So I'm limited to this as an option. While it works great by it's self. I just now realized the page will jump to it, while also controlling the items inside. So I was wondering if I could maybe limit the anchor tags to work within the carousel or somehow prevent the site from also jumping while it's being used?
Christian Schaefer
CodePen
A CSS-only Carousel Slider
I've recently read about and discussed CSS Scroll Snapping so often that I felt like I should build a CSS-only carousel based on it. Here are a few th...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server