Using CSS Preprocessors to Save Time

Introduction

Preprocessors (aka precompilers) can make your life much easier by eliminating code repetition and providing all sorts of yummy time-saving and code-saving features. If you’ve been using Rails, you’ll be familiar with SASS already since it’s baked in. If you’re not using Rails, you may need to add some additional steps to your workflow to get your preprocessor set up but it’s worth it.

Learning Outcomes

  • What is a preprocessor?
  • Why do preprocessors rock?
  • What does it mean that a preprocessor “compiles to CSS”?
  • What is SASS/SCSS?
  • How can you use SASS to nest CSS?
  • How can you use SASS to work with variables in your code?
  • Why is it awesome to use mix-ins with SASS?
  • If you’re not using Rails, how do you set up SASS?
  • What is LESS and how is it different from SASS?
  • What other preprocessors are out there?

Assignment

Additional Resources

This section contains helpful links to other content. It isn’t required, so consider it supplemental for if you need to dive deeper into something.

HTML5 and CSS3

Using CSS Preprocessors to Save Time

View Course Login to track progress Next Lesson

Got questions?

Chat with our friendly Odin community in our Gitter chatrooms!

Open Gitter

Are you interested in accelerating your web development learning experience?

Get started

Thinkful

  • 5-6 months

    5-6 months

  • Job Guarantee

    Job Guarantee

  • 1-on-1 Mentorship

    1-on-1 Mentorship