you are viewing a single comment's thread
view the rest of the comments
[–] 94 points 4 days ago (6 children)
{
display: flex;
align-items: stretch;
}
  • source
  • hideshow 6 child comments
  • [–] 31 points 4 days ago (5 children)
  • [–] 4 points 4 days 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 4 days ago (2 children)

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

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

  • source
  • parent