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

Compilation Error on the Code Challenge for the 'Getting Started with Compass' Achievement in the Compass Basics course

I can't figure out what I'm doing wrong in this code challenge.

I am getting this error message:

Bummer! Compilation Error! error tmp/workdirs/f9c05a08-7331-4167-8e91-3d7dec81f33d/sass/style.scss (Line 18: Undefined mixin 'single-transition'.)

Here is my code: /* Write your SCSS code below. */

// Imports

// Variables

// Page Styles

body { @import "compass/css3"; $experimental-support-for-svg: true; @include background(linear-gradient(#3d69b5, #1a335e)); }

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

Please help,


1 Answer

Alex Heil
Alex Heil
53,534 Points

hi Zane DeVault ,

you're hitting the compilation error because you include compass in your body rule. try to use the import below the comment //imports and the compilation error should be gone.

hope that helps and have a nice day ;)

That fixed it. Thanks Alex!