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

Add some rotation to rellax #142

Open
Zmove opened this issue Jan 23, 2019 · 1 comment
Open

Add some rotation to rellax #142

Zmove opened this issue Jan 23, 2019 · 1 comment

Comments

@Zmove
Copy link

Zmove commented Jan 23, 2019

Hello,

First, thank you for this very nice plugin. I used it several times, it's simple to use, reliable, efficient... really great work !

I wonder if it would be possible to add some rotation to rellax items, which could be controlled with an new "rotation" option. We could create very nice effects with that !

Best regards,

Alex

@niyabits
Copy link

Wrap the element around a <div class="rellax"> which you want to be animated.

For instance -

        <div class="rellax" data-rellax-speed="2">
          <h1 class="rotate">Web Developer</h1>
        </div>

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

No branches or pull requests

3 participants