Compare Sizes
Register
English Français Español

CSS preprocessors comparison

1

Cascading Style Sheets (CSS) pre-processors help you to maintain your CSS files more easily. It can help you make your CSS more readable, maintainable by using some features not available in the CSS language.

Variables allow to easily reuse the same value in your CSS, making it easier to read or update.

Mixins allow embedding all the properties of a class into another class.

Nesting allow to have a more concise code, which mimics the structure of your HTML..

Get image dimensions allow to set properties using the size of a given image ensuring your CSS is adapted if the image is changed.

Feel free to help complete and correct this comparison.

Link
Less
Sass (SCSS syntax)
Stylus
Webseite
lesscss.orgsass-lang.comgithub.io/...
Latest version
2.5.33.4.190.52.4
Veröffentlichungsdatum
2015-09-25 2015-10-10 2015-09-04
Development language
JavascriptRubyJavascript
Eigenschaften
Variables
JaJaJa
Mixins
JaJaJa
Conditionals
-JaJa
Get image dimensions
Ja-Ja
Color manipulation
JaJaJa
Dark/light color detection
--Ja
Nesting
JaJaJa
Additional
Syntax sample
@mycolor: black;

#header {
  color: @mycolor;
  .navigation {
    font-size: 12px;
  }
  .logo {
    width: 300px;
  }
}
SCSS syntax:
$mycolor:black;

#header {
  color: $mycolor;
  .navigation {
    font-size: 12px;
  }
  .logo {
    width: 300px;
  }
}
mycolor=black

#header {
  color: mycolor;
  .navigation
    font-size: 12px;
  
  .logo
    width: 300px;
}
Aktualisieren
2015-11-12 23:18:342015-11-12 23:18:342015-11-12 23:24:46
Embed
Compare CSS preprocessors: Less vs Sass (SCSS syntax) vs Stylus
Webmaster
English
Public
Public
2022-11-04 09:11:48
View changes
Manage backups

User reviews and comments

No comments yet. Be the first to leave your review.