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

Adding more animations to the library ? #17

Closed
Zabi-Progton opened this issue Apr 5, 2019 · 2 comments
Closed

Adding more animations to the library ? #17

Zabi-Progton opened this issue Apr 5, 2019 · 2 comments

Comments

@Zabi-Progton
Copy link

How to create custom animations within the library, can anyone help me on this ?

@mciastek
Copy link
Owner

mciastek commented Apr 8, 2019

Just use your custom animation nam with .sal-animate class name defined in options, see Advanced Options.

For example:

<div data-sal="my-awesome-animation">Animate me!</div>
[data-sal='my-awesome-animation'].sal-animate, {
  /* styles for your awesome animation */
}

I hope this answers your question.

@mciastek mciastek closed this as completed Apr 9, 2019
@mciastek
Copy link
Owner

mciastek commented Apr 9, 2019

I'm closing this issue for now. Please, reopen it when needed.

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

2 participants