JSFiddle - React, Tailwind, and code Playground
by Kleber Mota
HTML
<main>
<div class="produto_title">
<h2>product name</h2>
<a href="#" class="btn_free">Baixar</a>
<a href="#" class="btn_comprar">Comprar <span>$9.99</span></a>
</div>
<article></article>
</main>
CSS
h2 {
font-family: 'Luckiest Guy', cursive;
border-style: groove;
border-color: #696969;
}
.produto_title {
/* */
}
.produto_title h2 {
float: left;
}
.btn_free {
float: right;
width: 60px;
height: 20px;
background: silver;
border-radius: 5px;
padding: 1px 3px;
box-shadow: 1px 1px 1px #000;
display: block;
text-align: center;
background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);
font-family: arial;
font-size: 12px;
line-height:20px;
}
.btn_free:hover {
background-image: linear-gradient(to bottom, #c3e3fa, #a5defb);
}
.btn_comprar {
float: right;
width: 60px;
height: 20px;
background: silver;
border-radius: 5px;
padding: 1px 3px;
box-shadow: 1px 1px 1px #000;
display: block;
text-align: center;
background-image: linear-gradient(to bottom, #f4f5f5, #dfdddd);
font-family: arial;
font-size: 12px;
line-height:20px;
}
.btn_comprar:hover {
background-image: linear-gradient(to bottom, #c3e3fa, #a5defb);
}