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?
2 Replies
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
it worked! thank you