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 trialCatarina Fernandes
10,884 PointsTransform-origin behaves differently on chrome and firefox navigator
When following this tutorial, I've tested the results for the gear icon transform in chrome and all seemed ok, but them I've tested it on firefox and the gear icon acts differently in the hover state. It seems that the transform-origin property isn't processed the same way in the two browsers. Any idea on how I can correct this behaviour so that the icons act the same way in different browsers?
2 Answers
Codin - Codesmite
8,600 PointsTransform-Origin does not work on SVG with percentage values in any version of Firefox older then version 41.
The bug is covered in the track (2 tasks on) "Transform Origin In Firefox".
Dusan Zivanovic
1,274 PointsTranform-origin now works in both chrome and firefox, but in my case with values 50% 25%.
Catarina Fernandes
10,884 PointsCatarina Fernandes
10,884 PointsThank's for your answer Ashley =) I've watched the video you refer and now all makes sense