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!

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 Rotating and Scaling SVG

The transition doesn't work

on hover the scale or rotate works but doesn't ease or go back to its original position, i've tried in chrome safari and firefox.

Is there something i'm doing wrong?

Workspace: http://port-80-di62xyvwev.treehouse-app.com/

2 Answers

You've probably already figured it out, but make sure that your transition property is not inside the :hover selector but instead inside the ":hover-less" class (sorry haven't got the lingo nailed yet).

Erwin Meesters
Erwin Meesters
15,088 Points

The link to your workspace doesn't work unfortunately.