JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="bloco">
<div class="botao">
<a href="">Saiba Mais</a>
</div>
</div>
</div>
CSS
.container {
width: 400px;
height: 200px;
background: red;
padding: 10px; 10px;
}
.container .bloco {
width: 50%;
height: 100px;
margin-top: 15%;
margin-left: 25%;
background: yellow;
position: relative;
transition: 0.2s linear;
}
.container .bloco .botao{
opacity: 0;
transition: 0.2s linear;
}
.container .bloco .botao a {
text-decoration: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: block;
background: green;
padding: 5px 10px;
color: #fff;
border-radius: 5px;
}
.container .bloco:hover {
margin-left: 0;
margin-top: 0;
height: 200px;
width: 400px;
}
.container .bloco:hover .botao {
opacity: 1;
}