Hacker News new | ask | show | jobs
by envex 4897 days ago
It's basically the same, minus a few differences in syntax.

ie. Mixins

LESS

    .border-radius(@radius){ border-radius: @radius; }
    .border-radius(5px);
SCSS/SASS

    @mixin border-radius(@radius){ border-radius: @radius; }
    @include border-radius(5px);
- - -

The biggest difference is being able remove curly braces and semi-colons, which can speed up your development

    h1
      font-weight: bold
      color: red
2 comments

Ignoring Sass @extend is ignoring perhaps its most powerful feature:

http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...

Ah, very nice. Will definitely have play around with it.

Thank you!!!