body {
  margin: 0;
  height: 100vh;
  display: grid;
  place-items: center;
}

#ripple {
  width: 10rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #2aa461;
  border: 0;
  box-shadow: 0 1px 1.5px 0 rgba(0, 0, 0, .12), 0 1px 1px 0 rgba(0, 0, 0, .24);
  color: white;

  --ripple-x: 0;
  --ripple-y: 0;
  --ripple-color: rgba(255, 255, 255, 0.54);
  --animation-tick: 0;
}

#ripple:focus {
  outline: none;
}


@supports (background: paint(id)) {
  #ripple.animating {
    background-image: paint(ripple);
  }
}
