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

CSS CSS - Beyond the Basics Understanding CSS Transitions and Transforms Transforms Challenge

What is wrong with this CSS?

The question is give the .badge class a rotate of 15 degrees and move it down 50px:

transform: rotate(15deg) translate(0px, 50px);

It says to check the value of rotate? Not sure what I am doing wrong.

1 Answer

Jesus Mendoza
Jesus Mendoza
23,289 Points

You have to rotate it counterclockwise, so it's -15deg.

Wow. Don't know how I overlooked that. Dur. Thanks.