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 trial

CSS Compass Basics Getting Started with Compass Getting Started with Compass

@import"compass/CSS3"

from watching Gil's video eight thousand times.... My code is @import "Compass/CSS3;" Why do I get an error? Why does it not pass?

4 Answers

Get rid of the body and it will work.

Steven Byington
Steven Byington
13,584 Points

try @import "compass/css3"

The capital C might be the reason it won't work.

I did as you suggested and I got an error stating

Bummer! Invalid CSS after "body ": expected selector or at-rule, was "{" Preview Recheck work

Steven Byington
Steven Byington
13,584 Points

Here is exactly as it looked on my screen when it passed. If it isn't working for you still I would contact support.

/* Write your SCSS code below. */

// Imports
@import "compass/css3";

// Variables


// Page Styles

body {

}
Steven Byington
Steven Byington
13,584 Points

Which challenge question is it? I wrote @import "compass/css3"; for the first question underneath the comment for imports, and it worked just fine.

Challenge task 1 of 5

First, import the Compass CSS3 module. It won't let me pass.... I'm out of my mind..."@import compass/css3;" I appreciate the effort...