Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Preprocessors: An Overview

Preprocessors: An Overview

An overview of preprocessors as presented to the Startup Institute Summer 2015 class.

Paul Demers

July 08, 2015
Tweet

More Decks by Paul Demers

Other Decks in Design

Transcript

  1. What is a Preprocessor? • A syntax and group of

    patterns to extend the capabilities of CSS. • Allows the creation of programatic CSS • Use compilers to output standard CSS that the browser can understand
  2. Preprocessor Features • Partials- include one file in another using

    import • Nesting - put css rules inside other css rules • Variables - reusable declarations • Mixins - reusable snippets and functions
  3. Issues to Consider • Can bloat the CSS that it

    outputs • Need other team members to adopt preprocessor workflow • Another language to learn • Additional processing necessary to write site styling
  4. Let’s Do This! • Learn Sass • Learn LESS •

    Learn Stylus • Getting Started with Preprocessors • Baseplate project on GitHub