What is a CSS preprocessor?

Experience Level: Medior
Tags: CSS

Answer

A preprocessor is a program that takes one type of data and converts it to another type of data:

  • Haml -> HTML
  • Sass - > CSS
Example CSS

div {
margin: 0 auto;
 width: 960px;
  }
Example SASS

div
 margin: 0 auto
 width: 960px

Comments

No Comments Yet.
Be the first to tell us what you think.