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 Compass Basics Getting Started with Compass Getting Started with Compass

Sinikka Li
Sinikka Li
5,048 Points

use a transform mixin to give .main-logo a -25deg rotation on :hover. - Bummer

Hey, I am stuck with this question...

I tried to answer it with

.main-logo {
@include single-transition(transform, 0.6s);

}

.main-logo:hover {
@include transform(rotate(-25deg));
}

and with

.main-logo {
@include single-transition(transform, 0.6s);
&:hover {
@include transform(rotate(-25deg));
}

}

I really don't get it...

2 Answers

Hi Sinikka,

What you have will produce the correct css but this challenge seems to be looking specifically for the rotate mixin.

.main-logo:hover {
  @include rotate(-25deg);
}
Sinikka Li
Sinikka Li
5,048 Points

thanks you! :)

Sinikka Li
Sinikka Li
5,048 Points

sorry that was just a mistake as I typed in the question. I just tried it again to make sure it wasn't this mistake, but it's still not working...