JSFiddle - React, Tailwind, and code Playground

by Kleber Mota

HTML

<main>
      <div class="produto_title">
        <hr/>
        <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;
  background-color: #D3D3D3;
}

hr {
  width: 100%;
    height: 2px;
    background-color: gray;
    position: absolute;
    top: 40px;
    z-index: -1;
}

.produto_title {
  /* */
}

.produto_title h2 {
  float: left;
  padding-top: 0;
}

.btn_free {
  float: right;
  width: auto;
  height: auto;
  background-color: #D3D3D3;
  display: block;
  text-align: center;
  font-family: 'Luckiest Guy', cursive;
  color: #696969;
  text-decoration: none;
  line-height:20px;
  border-style: groove;
  border-color: #696969;
  margin: 30px 5px;
}

.btn_free:hover {
  background-color: #696969;
  color: #D9D9D9;
}

.btn_comprar {
  float: right;
  width: auto;
  height: auto;
  background-color: #D3D3D3;
  display: block;
  text-align: center;
  font-family: 'Luckiest Guy', cursive;
  color: #696969;
  text-decoration: none;
  line-height:20px;
  border-style: groove;
  border-color: #696969;
  margin: 30px 5px;
}

.btn_comprar:hover {
  background-color: #696969;
  color: #D9D9D9;
}