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

Inline child animation #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sean6bucks
Copy link

Added a small block of code to RenderElementsCurrentlyInViewport function that will allow for different animations to be applied on direct children of ".aniview" block element. This should improve use if user wants inline elements within a block to animate differently but retain their inline styling.

Will most likely need further support for children of children and other unforseen cases, but I think a good start to more support.

Cycling through aniview element and applying animate.css classes to any direct children.
- This will avoid turning inline-elements in a block into blocks themselves, while still animating simultaneously.
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

Successfully merging this pull request may close these issues.

1 participant