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

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Sass Workflow

Hi all,

Now I'm just about to finish the great new Sass Course, Sass Basics. And I thought it was high time I got my hands dirty and started to apply what I've learned to a mini project. Just a small project to produce a landing page for one of my clients.

So I went in straight away and started writing some variables and mixins to try and make some organised code.

Now I struggle all the time to retain concepts I've learned, which in itself is not the same was not learning. Eventually, I just decided to write vanilla CSS into my Sass file and then mess around converting the CSS into Sass.

But I'm not sure what the best workflow actually is.

  • Should I write CSS and the refactor?
  • Write Sass code straight away?
  • Or does it simply depend on the project you're working on?

Thanks :)