Moving some element with range input, no javascript

Hi everyone, I'm trying to create some swipe captcha and everything works perfectly without javascript except one thing. When user moves the range I use javascript to move black box so visually user can see when it fits inside the red box. Is there a some weird css feature that I can achive this with?
No description
2 Replies
MarkBoots
MarkBoots2w ago
maybe look at this pen from Temani Afif. He uses anchor and timeline to add labels to a range slider. You could probably tweak it to fit your purpose (im not comfortable with it enough to explain it in detail) https://codepen.io/t_afif/pen/BagmGPy
serkan
serkanOP2w ago
it worked! thank you
Want results from more Discord servers?
Add your server