JSFiddle - React, Tailwind, and code Playground
HTML
<div class="button_class">
<a class="link_class" href="http://www.my_link.com">My Link</a>
</div>
CSS
.button_class {
width:150px;
padding:5px 7px;
background-color:#cecece;
text-align:center;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
}
.link_class {
background-color:yellow;
display:inline-block;
width:100%;
height:100%;
}