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 trialRobert Brown
12,269 PointsFinally, use a transform mixin to give .main-logo a -25deg rotation on :hover. Part 5 of compass challenge.
So i tried different versions of @include transform and don't get the mixin needed looked on vid and Compass transform reference but no luck. keeping getting
"Bummer! Make sure you're including the correct mixin inside the .main-logo:hover rule."
This is what I have:
body { $experimental-support-for-svg: true; @include background(linear-gradient(#3d69b5, #1a335e));
.main-logo { @include single-transition(transform, 0.6s); }
.main-logo:hover { @include transform(rotate, -25deg); } }
Help!
2 Answers
Mason Embry
Full Stack JavaScript Techdegree Graduate 31,420 PointsYeah, that looks right to me. Sorry I didn't get around to answering quicker. Good job finding the solution!
Mason
Robert Brown
12,269 PointsNo problem thanks for even looking. It nice to know people are out there.
Bruno SANTOS
6,518 PointsThanks, it helped me too.
Robert Brown
12,269 PointsRobert Brown
12,269 PointsWith some rest found answer on:
http://compass-style.org/reference/compass/css3/transform/
answer:
@include rotate(-25deg);
way over thought it.