JSFiddle - React, Tailwind, and code Playground
by Dianne Katherine Delos Reyes
HTML
<article class="cols" id="hov" style="width:30%; ">
<a href="#">
<div class="pad_sulit_box">
<img src="#" style="width: 100%; height: 150px">
<h4>Title</h4>
</div>
</a>
</article>
CSS
.pad_sulit_box {height: 220px;border-width: thin; border-color: #cdcdcd; border-style: solid; padding: 10px; }
#hov :hover {padding-top: 10px; padding-bottom: 10px; box-shadow: 0px 0px 20px #888888; }