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 trialYury Aykin
18,115 PointsFinally, use a transform mixin to give .main-logo a -25deg rotation on :hover.
Can't pass this challenge. My code:
.main-logo:hover{
@include transform(rotate(-25deg));
}
1 Answer
Ken Alger
Treehouse TeacherYury;
.main-logo :hover {
@include rotate(-25 deg);
}
should do the trick.
Happy coding,
Ken
Yury Aykin
18,115 PointsYep, that worked, thanks, Ken. But why there is a "use a transform mixin" in a description... just a rhetorical question :)
Yury Aykin
18,115 PointsYury Aykin
18,115 PointsThough it works fine in my own scss. Is that some kind of bug?