you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 1 day ago (3 children)

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
  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 day ago (2 children)

    CSS has done a lot of catching up over the years.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 1 day ago* (last edited 1 day 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!

  • source
  • parent