const $header = $("#myDIV#row");
const $card = $('div[id*="card"]');
$card.hover(function () {
$(this).addClass('active');
}, function () {
$(this).removeClass('active');
});
.card {
background-color: transparent;
cursor: pointer;
height: auto;
border: 0;
}
/* Style the active class, and buttons on mouse-over */
.active,
.btn:hover {
font-family: 'Lato', sans-serif;
-webkit-box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
-moz-box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
background-color: #fff;
}
.cardheaderimage {
margin-top: 100px;
margin-bottom: 70px;
}
.cardheadertext {
color: #001F55;
font-size: 1.8em;
border-bottom: 3px solid #001F55;
display: inline-block;
padding-bottom: 5px;
margin-bottom: 20px;
font-family: 'Muli', sans-serif;
font-weight: 600;
text-decoration: none;
}
.catdmaintext {
color: #001F55;
font-size: 1.2em;
margin-bottom: 20px;
font-family: 'Muli', sans-serif;
font-weight: 200;
text-decoration: none;
}
.cardlinktext {
color: #30A3FC;
font-size: 1.2em;
margin-bottom: 88px;
font-family: 'Muli', sans-serif;
font-weight: 400;
text-decoration: none;
}
/*
.card1 {
font-family: 'Lato', sans-serif;
-webkit-box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
-moz-box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
box-shadow: 0px 5px 10px 0px rgba(122, 113, 122, 0.66);
background-color: #fff;
}
*/
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div class="col-12">
<div class="container ">
<div class="inner">
<div id="myDIV row" class="row no-margin ">
<div class="card card1 col-4 active" id="card1">
<center>
<div class="cardheadertext">Panel 1</div>
<div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
here. <br> Panel body text here. <br> Panel body text here. <br></div>
<div class="cardlinktext"><a href="#">Click Here...</a></div>
</center>
</div>
<div class="card col-4" id="card2">
<center>
<div class="cardheadertext">Panel 2</div>
<div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
here. <br> Panel body text here. <br> Panel body text here. <br></div>
<div class="cardlinktext"><a href="#">Click Here...</a></div>
</center>
</div>
<div class="card col-4" id="card3">
<center>
<div class="cardheadertext">Panel 3</div>
<div class="catdmaintext">Panel body text here. <br> Panel body text here. <br> Panel body text
here. <br> Panel body text here. <br> Panel body text here. <br></div>
<div class="cardlinktext"><a href="#">Click Here...</a></div>
</center>
</div>
</div>
</div>
</div>
<div class="qu-container" style="display: none;"><a href="#" class="qu-btn w-button active"
onClick="validateForm('Request_More_Information')">Request more information</a>
</div>
<div class="qu-container" style="display: none;"><a href="#" class="qu-btn w-button active"
onClick="validateForm('Request_More_Information')">Request more information</a>
</div>
</div>