<button>
  <span class="shadow"></span>
  <span class="edge"></span>
  <span class="front text"> Click me
  </span>
</button>
<style>
/* From Uiverse.io by cssbuttons-io - Tags: button */
button {
 position: relative;
 border: none;
 background: transparent;
 padding: 0;
 cursor: pointer;
 outline-offset: 4px;
 transition: filter 250ms;
 user-select: none;
 touch-action: manipulation;
}

.shadow {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 border-radius: 12px;
 background: hsl(0de