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
Manjula Kashyap
2,694 PointsCSS Version
I am trying to rotate an image using the 'image-orientation' property.
image-orientation: 90deg;
It is not working. What version of CSS are we using on Workspace? Is it a version issue? Or something else?
1 Answer
Welby Obeng
20,340 PointsIt seems it's fully supported only on firefox 33+
http://caniuse.com/#feat=css-image-orientation
try
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg);
Jeff Jacobson-Swartfager
15,419 PointsAbsolutely. This is the appropriate way to do it today.
Willie Allison
2,035 PointsWillie Allison
2,035 PointsI am new to the course and this has nothing to do with the programming part of it but I always put my images in Microsoft Word, rotate them and then copy it and paste it in Microsoft Paint to do those things. As I said it is not the programming answer you are looking for but if you are in a hurry to get it done this should work. I also use Word and Paint to resize my images at times.