Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Animating SVG with CSS Transitions and Transforms Transitions and Transforms Review

To rotate an SVG element around its center, you need to set its value to the center.

Its a fill in the blank please help...

2 Answers

Logan R
Logan R
22,989 Points

I'm not sure if this is 100% correct, but I believe the answer is transform-origin.

If you check out this video at around 4:00 he should talk about it:

https://teamtreehouse.com/library/animating-svg-with-css/transitions-and-transforms/grouping-and-transforming-svg

alexx1000
alexx1000
16,187 Points

Thanks so much Logan R ! yes, the right answer is transform-origin! :)

Sean Flanagan
Sean Flanagan
33,235 Points

Hi Logan. That was a big help. There's no Best Answer available but I've given you an upvote.

Thanks

Sean