Skip to content

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

@nclm

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!

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