canvas {
    display: block;   /* removes inline spacing */
    position: relative;  /* or absolute if you want */
    z-index: 1;          /* lower */
  }
  
.content {
position: absolute;
top: 20px;      /* wherever you want it */
left: 20px;
z-index: 10;    /* higher than canvas */
color: white;   /* if your canvas is dark */
pointer-events: auto; /* so it’s interactive */
}