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

empty string on get css transform on first attempt #6

Open
ghiblin opened this issue May 24, 2012 · 0 comments
Open

empty string on get css transform on first attempt #6

ghiblin opened this issue May 24, 2012 · 0 comments

Comments

@ghiblin
Copy link

ghiblin commented May 24, 2012

Hi,
I tried to get a div current transform using $('#mydiv').css('transform') and I get an empty string, but I know that this div has a transform: rotate(-1deg) css style applied via class reference.

If I set a rotation via $('#mydiv').css('transform', 'rotation(-1deg)') I can now read that value via the getter.
Any ideas?

I test on Mac Lion - Safari 5.1.5

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

1 participant