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 Sass Basics (retired) Speeding up Workflow with Sass Working with Sass Libraries

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

sass libraries bourben not working

Installed bourbon on my desktop. Opened up main.scss in sublime text 2 did this in the beginning of main.scss file @import "bourbon/_bourben.scss"; but nothing comes out in the main.css file. Blank. Why didn't it do anything? confused.

2 Answers

Simon Tucker
Simon Tucker
9,113 Points

Glad to hear it's working. You should really use Codekit it's absolutely brilliant, no need to use the terminal sass --watch.

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

Hey, thanks for the advice, I'm on windows so can't use 'Codekit' but I'm now using 'Prepros' and it's great.

Simon Tucker
Simon Tucker
9,113 Points

Just type @import "bourbon/bourbon" at the start of your main.scss

that should work as long as your main.scss file is in the same directory as bourbon if not then "../bourbon/bourbon" if this is in another folder.

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

oops... I figured out why it wasn't working. I forgot to put a command line 'sass --watch' in the console. And it worked like a charm thanks for the help too with the @import "..bourbon/bourbon". I just wished that the teacher would have mentioned the sass watch in the video. Could of saved me a lot of wasted time.