Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove class when element isn’t in the viewport any more? #5

Open
nclm opened this issue Jan 26, 2024 · 0 comments
Open

Remove class when element isn’t in the viewport any more? #5

nclm opened this issue Jan 26, 2024 · 0 comments

Comments

@nclm
Copy link

nclm commented Jan 26, 2024

Is there a way to add a class when it’s in the viewport (as in the example), but then remove the class when it’s not anymore? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant