CSS Burger Arrow Menu


  .nav-menu-arrow {
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
  }
  .nav-menu-arrow span {
      transform: rotate(0deg);
      transition: all 0.5s ease, top 0.5s ease;
      width: 50px;
      position: absolute;
      height: 10px;
      background-color: #000;
      border-radius: 5px;
      left: 0;
  }
  .nav-menu-arrow span:nth-child(1) {
      top: 0px;
  }
  .nav-menu-arrow span:nth-child(2) {
      top: 20px;
  }
  .nav-menu-arrow span:nth-child(3) {
      top: 40px;
  }
  .nav-menu-arrow:hover span:nth-child(1) {
      transform: rotate(45deg);
      top: 10px;
      width: 30px;
      left: 20px;
  }
  .nav-menu-arrow:hover span:nth-child(3) {
      transform: rotate(-45deg);
      top: 30px;
      width: 30px;
      left: 20px;
  }
klimabewusste Website