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 trialTarik Hamilton
6,799 PointsI'm guessing using pixels for transform-origin makes it not responsive?
The Firefox solution is basically not responsive?
3 Answers
Tarik Hamilton
6,799 PointsHi Walter. I understand that, but the Firefox solution used fixed lengths, rather than relative ones. I'm just wondering, what is Treehouse's suggestion on using transform-origin across browsers.
Gabbie Metheny
33,778 PointsGuil answered a similar question here and said that it should scale properly in any size viewport. I tried resizing the browser, as well as testing on an iPhone in Chrome dev tools, and it all looks the same. I'm new to SVGs, but I would guess it has to do with how SVGs handle the cx and cy attributes.
Walter Perez
11,383 PointsHello Tarik, let's see if I can help you.
Css has 2 types of lengths, relatives, and absolutes.
Relatives, are relatives to other length. (em, rem, %).
Absolutes, are fixed lengths.(px,cm,pt). Then whatever u use with.. won't be responsive.
Regards
Abhijeet Ramgir
110 PointsSo is there a way to make it responsive? Thanks
armand Rodriguez
7,830 PointsI'm just curious if there is a remedy for this, since this was the question that kept coming to mind while watching this video. Wouldn't it be better to just use percentages since it works with the majority of browsers?
johan leandisco
1,178 Pointsjohan leandisco
1,178 PointsI was thinking about that too, there should be another way to do it. PD: Firefox always complicating my work.