As you comment that you use CSS and in doc write:
.scss source files are available if you use Sass as your CSS
  precompiler. It’s customizable and modular
Here is alternative with angular and css
Html
<div class="collapse" (click)="ifShow=!ifShow" [ngClass]="{'hide':!ifShow}">
  <span></span>
  <span></span>
  <span></span>
</div>
CSS:
.collapse{
  position: relative;
  cursor: pointer;
}
.collapse span{
    position: absolute;
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background-color: black;
}
.collapse span:nth-child(2) {
    top: 10px;
}
.collapse span:nth-child(3){
    top: -10px;
}
.hide span:nth-child(2) {
   transform:rotate(45deg);
   top:0;
}
.hide span:nth-child(3){
   transform:rotate(-45deg);
   top: 0;
}
.hide span:nth-child(1){
  animation:hideMain 1.5s;
  opacity: 0;
}
.hide span:nth-child(2),.hide span:nth-child(3) {
  animation:hide 1.5s;
}
@keyframes hide{
  0%{
    transform:rotate(0);
  }
  50%{
    top:0;
    transform:rotate(0);
  }
}
@keyframes hideMain{
  49%{
   opacity: 1;
  }
  50%{
  opacity: 0;
  }
}
TS:
 ifShow : boolean = true;