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 Sass Basics (retired) Getting Started with Sass Installing and Using Sass

From CSS to SCSS

Hi, I want to know if I can convert CSS files to SCSS, because I have some CSS files and I wnat to convert to SCSS. Thanks, L.

2 Answers

Kevin Korte
Kevin Korte
28,148 Points

Vanilla CSS is perfectly valid Sass. You can copy and paste CSS into a Sass file and it'll compile just fine. You can than go back through and make your Scss edits to that file as you want.

Hi Kevin, I think that you doesn't understand me. I mean that like with stylus, you on your terminal can put "stylus -C file.css" and you can get a new file but with stylus sintax. I want to do that but with SASS