Skip to content

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

Description

@nclm

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions