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

@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...