form 0.5s;
  transform-origin: bottom right;
  transform: scale(0);
}

button:hover:before {
  transition: transform 0.5s;
  transform-origin: top left;
  transform: scale(1);
}

button:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 2px solid #fff;
  box-sizing: border-box;
  z-index: -1;
  transition: transform 0.5s;
  transform-origin: bottom right;
  transform: scale(1);
}

button:hover:after {
  transition: transform 