JSFiddle - React, Tailwind, and code Playground

HTML

<div class="NoEsImportante">

<input type="button" id="btnG" value="Click me"><div></div>



</div>

CSS

#btnG {width: 100px;}

#btnG+div {
  z-index: -1; position: relative; left:-25px; top:-38px;
  background-color: black;
  width: 150px;
  height: 50px;
  transition: all .2s ease-in-out;}

#btnG:hover+div {
  transform: scale(1.1, 1.1);
  transition: all .2s ease-in-out;}
 
  
  
  .NoEsImportante {padding: 100px;}