• python@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      We are living in unprecedented times. I had to learn JavaScript just to finance my rat habit…

    • nilloc@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Sass is so much better.

      @mixin button-base()
        @include typography(button)
        @include ripple-surface
        @include ripple-radius-bounded
      
        display: inline-flex
        position: relative
        height: $button-height
        border: none
        vertical-align: middle
      
        &:hover
          cursor: pointer
      
        &:disabled
          color: $mdc-button-disabled-ink-color
          cursor: default
          pointer-events: none
      
        • call_me_xale@lemmy.zip
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Right? I started a small project a little while ago and reached for SASS without even thinking, only to look through all the modern reference materials and realize I basically didn’t need it. One less compilation step!