Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Darren Kynaston
PLUS
Darren Kynaston
Courses Plus Student 15,610 Points

CSS Transform - Safari Browser

Hey all,

I am trying to apply a

-webkit-transform: rotate(1080deg); -webkit-transition: 2s;

to a class, it all works EXCEPT in Safari browser (on iPhone and iPad)...

Am I missing any specific prefix(s) for the Safari Browser?

Help much appreciated.

Darren

Looking at the browser compatibility for transform and transition, they are both supported in iOS Safari versions 7.0-7.1 and 8.1-8.3. I'm not sure exactly why they're not working because -webkit- should be the prefix to use.

http://caniuse.com/#feat=transforms2d

http://caniuse.com/#feat=css-transitions

1 Answer

Herb Bresnan
Herb Bresnan
10,658 Points

did you mean to rotate(1080deg) or rotate(180deg)?