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 CSS to Sass Installing Sass and Setting up the Project Up and Running with Sass

Sean Flanagan
Sean Flanagan
33,235 Points

File may become unusable

Hi.

I tried to rename my style.css file to style.scss but I got a dialogue box warning me that the file become unusable if renamed. I tried it anyway but the system froze briefly and when I checked the file name was unchanged.

Should I risk renaming style.css or isn't it worth the trouble?

Cheers

Sean

3 Answers

Hi Sean,

Make sure you have a separate folder for just your SASS files (scss) and a separate folder for your CSS files. In the next video Guil will cover it.

When working with SASS you'll no longer ever change the CSS file directly. You will always be making changes in your SCSS file and the changes will automatically be made to your CSS file. The next video will cover how to make SCSS files automatically convert into the CSS.

By the sound of things, everything so far is okay!

Sean Flanagan
Sean Flanagan
33,235 Points

Hi Kyle.

I seem to have cleared this particular hurdle. Thanks!

Sean

Hi Sean,

If you are worried about possible corruption of your file. Save a backup of your original CSS file (save as with a new file name). Once you have a backup, go for it and see what happens. If its corrupt you'll always have a backup and you can move forward from there as if nothing happened.

Its likely you'll be just fine.

Cheers.

Sean Flanagan
Sean Flanagan
33,235 Points

Hi Kyle. Thanks for the fast reply.

I've saved the style.css file as style.scss, creating the same file under a different extension. So now I have both style.css and style.scss. I opened the scss file in Sublime and that seems to work okay.

The Ruby command prompt on my Windows 10 PC is still open so hopefully I'll be able to carry on from here?

Thanks

Sean