this post was submitted on 02 Apr 2024
13 points (88.2% liked)

CSS

484 readers
1 users here now

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Mathprogrammer1@sh.itjust.works 1 points 7 months ago (7 children)
[–] spartanatreyu@programming.dev 7 points 7 months ago (5 children)

Let me reverse that question and ask: Why use Sass?

[–] Mathprogrammer1@sh.itjust.works 2 points 7 months ago (1 children)

It has variables as well as modules, easily nestable definitions, and inheritance so that you can have base classes

[–] spartanatreyu@programming.dev 2 points 7 months ago

CSS has variables, modules and nesting.

By inheritance, do you mean the extends keyword? Because if so, it just seems like going further down the misguided BEM path instead of picking better selectors.

load more comments (3 replies)
load more comments (4 replies)