JSFiddle - React, Tailwind, and code Playground

by Abdul Ahmad

HTML

<div class='button'>
  button
</div>

CSS

.button {
  display: inline-block;
  padding: 10px 25px;
  background: white;
  border: 1px solid #ddd;
  border-top-color: white;
  border-bottom: 2px solid #ddd;
}

.button:hover {
  cursor: pointer;
}

.button:active {
  border-bottom: 1px solid #ddd;
}