You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to style the currently differently. Currently the only way to do this is using JavaScript. And any existing solutions I could find don't seem very robust:
Something like :scroll-snapped could be nice. Although maybe that is too specific to my personal use case.
I'd also like to get access to the currently snapped element via JavaScript, as I plan on performing an action on the snapped element when the user clicks a button. But I don't think this is the correct repository for that request?
The text was updated successfully, but these errors were encountered:
https://drafts.csswg.org/css-scroll-snap-1/
I would like to style the currently differently. Currently the only way to do this is using JavaScript. And any existing solutions I could find don't seem very robust:
Something like
:scroll-snapped
could be nice. Although maybe that is too specific to my personal use case.I'd also like to get access to the currently snapped element via JavaScript, as I plan on performing an action on the snapped element when the user clicks a button. But I don't think this is the correct repository for that request?
The text was updated successfully, but these errors were encountered: