How can I remove the anchor tag around the blank space of the images? Right now the blank spaces are clickable and I don't want that. Hover over the blank spaces around the images and you'll get what I'm talking about. The codepen link is https://codepen.io/sakirinteser/pen/rGvbmO
.portfolio h2 {
text-align: center;
font-size: 2.5em;
color: #27292d;
padding-top: 4%;
line-height: 1.3;
}
.port {
text-align: center;
color: #27292d;
padding-bottom: 3%;
}
.thumbs {
display: flex;
justify-content: space-around;
margin-bottom: 2%;
}
.thumbs img {
width: 60%;
padding: 0 !important;
}
.portfolio a {
margin: 0 auto;
text-align: center;
}
<div class="portfolio">
<section>
<h2>Past Work</h2>
<p class="port">We have worked on a diverse range of projects in the past, here is a quick snapshot:</p>
<div class="thumbs designthumbs">
<a href="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781" class="swipebox"><img class="wow animated fadeInLeft" src="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781"></a>
<a href="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781" class="swipebox"><img class="wow animated fadeInLeft" src="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781"></a>
</div>
<div class="thumbs">
<a href="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781" class="swipebox"><img class="wow animated fadeInLeft" src="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781"></a>
<a href="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781" class="swipebox"><img class="wow animated fadeInLeft" src="https://cmeimg-a.akamaihd.net/640/clsd/getty/c64f76dc20c246ca88ee180fe4b4b781"></a>
</div>
</section>
</div>
How can I remove the a tag's padding from the blank spaces around the images? Any help is appreciated.