JSFiddle - React, Tailwind, and code Playground

HTML

<div class="test">Test</div>

<button class="test">Test</button>

CSS

.test {
  -webkit-appearance: none;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: #000000;
  text-decoration-style: solid;
  background: transparent;
  display: inline;
  padding: 0;
  border: 0;
  outline: none;
  font-size: 12px;
  font-family: sans-serif;
  line-height: 1;
}