Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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...