20

You a front end dev?
Try sass or less, you will love it,
You will never be able to go back to css
😂
Please up vote after learning

Comments
  • 0
    What advantages do they have? Is it like a JS to CoffeeScript comparison?
  • 1
    @fkvx Not at all, but kind of.

    SCSS allows you to nest selectors and define variables and a ton of other beautiful stuff.

    Example:
    $ayyyyylmao = 5px;

    .cool-class {
    margin: $ayyyyylmao;

    .neat-class {
    font-size: $ayyyyylmao;

    .another {
    width: $ayyyyylmao;
    }
    }
    }
  • 1
    @fkvx the spacing is off, but you get it. I'll never be happy in vanilla css, but am in heaven with SASS. LESS is fine too, I just don't use it.
  • 0
    Haven't tried coffeescript , try netninja tutorial on sass on YouTube, won't take more than an hour to learn and quite easy to pickup @fkvx
  • 0
    @heyheni There's also SASS syntax which is without the sugar, personally I feel like a little structure helps with readability.
  • 1
    I'm lazy, therefore fuck those sem;colons and c{}rly braces!
    http://stylus-lang.com
  • 1
    @heyheni okay that's pretty cool
  • 1
    @heyheni You can use Sass without semicolons and parenthesis. What's above is SCSS, a pure-CSS-like variant of Sass.
  • 1
    We use LESS - I only knew limited CSS when I started, so I don't think I'll ever be able to write vanilla CSS!! I tried once, it took me AGES.
  • 1
    ok maybe the right place ro ask them: how da f*ck does one learn css/sass? i did tutorials, played a lot with it and yet at the end of the day when im trying to style one of my pronects it looks like a shity mess.. y god y.. #helpelsekillme
  • 0
    SCSS is amazing. It improves code readability so much!
  • 2
    I don't know why but I've always written vanilla CSS and never felt the need of SCSS. CSS itself is very good if properly installed. Also when a new feature comes in I wouldn't want to wait for SCSS to support it first before I can use it.
  • 1
    @tahnik I'm fairly certain you could put random attributes and values in SCSS and it would still compile.
  • 1
    The only reason why I love them is that you don't need to learn. You need 5 minutes to familiarize and you can rock
  • 1
    also interessting: stylus-lang.com
  • 1
    After using SAAS it almost feels wrong to write Css without it.
Add Comment