almost 8 years ago from Ericson Luciano, UI Designer & Front End Developer

  • Jens K., almost 8 years ago

    I think LESS/SASS changed the way we write CSS, and I think that's not bad. It's the same how I feel about BEM: it has changed the game, but for the good. Especially now that SASS has a tighter integration with BEM that allows us to write BEM like this:

    .component { // Style &__element { // Style } &--modifier { // Style } }

    which compiles to this CSS:

    .component { // Style } .component__element { // Style } .component--modifier { // Style }

    Great things are happening in the world of CSS.

    1 point