SASS Extend

PHOTO EMBED

Fri Jan 21 2022 14:56:09 GMT+0000 (Coordinated Universal Time)

Saved by @Sebhart #css #sass

.dialog-button {
  box-sizing: border-box;
  color: #ffffff;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  padding: 12px 40px;
  cursor: pointer;
}

.confirm {
  @extend .dialog-button;
  background-color: #87bae1;
  float: left;
}

.cancel {
  @extend .dialog-button;
  background-color: #e4749e;
  float: right;
}
content_copyCOPY

https://tutorialzine.com/2016/01/learn-sass-in-15-minutes