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 trialSinikka Li
5,048 Pointsuse 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
Jason Anello
Courses Plus Student 94,610 PointsHi 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);
}
Jude Campbell
Courses Plus Student 5,746 Pointsyou put "tranform" instead of "transform"
Sinikka Li
5,048 Pointssorry 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...
Sinikka Li
5,048 PointsSinikka Li
5,048 Pointsthanks you! :)