Answers for "nesting class using sass"

CSS
2

sass class with another class

.myclass {
  font-weight: bold;
  font-size: 90px;
}

.myotherclass {
  @extend .myclass;
  color: #000000;
}
Posted by: Guest on March-27-2020
1

scss nesting

.enlarge {
  font-size: 14px;
  transition: {
    property: font-size;
    duration: 4s;
    delay: 2s;
  }

  &:hover { font-size: 36px; }
}
Posted by: Guest on October-26-2021

Browse Popular Code Answers by Language