JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<button class="test">
<a href="#">test テスト</a>
</button>
<a href="#" class="link_btn">aタグのみ test テスト</a>
CSS
.test {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: inline-block;
border: 0;
background-color: #63bfbc;
color: #fff;
border-radius: 3px;
font-size: 16px;
transition: .3s ease;
}
.test:hover {
color: #c00;
background-color: #BDE4E3;
}
.test a {
color: inherit;
text-decoration: none;
}
.test a::after {
content: "\f08e";
font-family: "fontAwesome";
margin-left: 5px;
}
/*以下はaタグのみの場合*/
.link_btn {
display: inline-block;
background-color: #63bfbc;
color: #fff;
border-radius: 3px;
font-size: 16px;
transition: .3s ease;
padding: 0 10px;
text-decoration: none;
}
.link_btn:hover {
color: #c00;
background-color: #BDE4E3;
}
.link_btn::after {
content: "\f08e";
font-family: "fontAwesome";
margin-left: 5px;
}