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 trialKlobi Tonne
8,571 PointsImage doesn't spin
I've insertet an image let it spin on hover. Actually the spin works but only up to 180deg. After that it takes the 180 minus the rest. For example: transform: rotate(200deg); the image will spin for 160deg (200deg minus 180deg = 20deg and 180deg minus 20deg = 160deg) i mean... wtf is happening??
rob
1 Answer
Jaspreet Singh
5,207 Pointsuse rotate(1turn) it will rotate image 1 time , if u want to rotate multiple times increase number of turns like rotate(5turn) it will rotate 5 times