JSFiddle - React, Tailwind, and code Playground

HTML

<div class="list-wraper">
   <div class="list-item">
       <div class="content">
           <p>Бла Бла Бла</p>
           
       </div>
   </div>
</div>
<div class="list-wraper">
   <div class="list-item">
       <div class="content">
           <p>Бла Бла Бла</p>
           
       </div>
   </div>
</div>

CSS

* {
    box-sizing: border-box;
}
.content {
    padding: 10px 20px;
}
.list-wraper {
  height: 70px;
  position: relative;
  border: 1px solid #ccc;
}
.list-item {
   background-color: #fff;
   height: 100%;
   position: absolute;
   width: 100%;
}
.list-item:hover {
            z-index: 5;
            padding: 3px;
            top: -4px;
            left: -4px;
            border: 1px solid #ccc;
            box-sizing: content-box;
}