Hello, good afternoon.
I would like a help to create a div with 3 images for social networks, but I would like them to be divided equally, as in the image below:
SofarmycodeHTML
andCSS
lookslikethis:
<divclass="footer-img">
<div class="figure">
<a href="#" target="_blank">
<figure>
<img src="instagram.png" alt="#" style="width: 25px;">
<figcaption>LEGENDA</figcaption>
</figure>
</a>
</div>
<div class="figure">
<a href="#" target="_blank">
<figure>
<img src="youtube.png" alt="#" style="width: 35px;">
<figcaption>LEGENDA</figcaption>
</figure>
</a>
</div>
<div class="figure">
<a href="#" target="_blank">
<figure>
<img src="facebook.png" alt="#">
<figcaption>LEGENDA</figcaption>
</figure>
</a>
</div>
</div>
<style type="text/css">
.footer-img {
background-color: #F09300;
color: #FFF;
width: 100%;
}
.figure {
display: inline-block;
width: 20%;
vertical-align: middle;
}
.figure:hover {
background-color: #f7c27b;
cursor: pointer;
}
.figure a {
text-decoration: none;
color: #FFF !important;
}
.figure img {
display: inline !important;
width: 25px;
}
.figure figcaption {
display: inline !important;
vertical-align: super !important;
}
</style>
Thank you.