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

Use getComputedStyle() #175

Open
adamrutter opened this issue Oct 19, 2019 · 2 comments
Open

Use getComputedStyle() #175

adamrutter opened this issue Oct 19, 2019 · 2 comments

Comments

@adamrutter
Copy link

Several issues (#76, #142, #148) talk about the inability to use the transform property in your stylesheet as it gets overridden by rellax.

Multiple solutions are proposed (wrapper divs, inline styles, setting any additional transforms in JavaScript). However, it seems to me the best solution is using getComputedStyle(), as mentioned in #148, so we can use transform in our stylesheet as we usually would.

Would you consider a pull request adding this feature?

@adamrutter adamrutter changed the title Use get Use getComputedStyle() Oct 19, 2019
@kevadamson
Copy link

kevadamson commented Sep 8, 2020

+1

@kareemsulttan
Copy link

Can you provide an example for that method, please?

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

3 participants