I'm faced with this HTML snippet:
<div class="row">
<div class="col-md-10 social-icons">
<a href="https://www.youtube.com/" target="_blank"><img src="/images/youtube-i.png"></a>
<a href="https://github.com/" target="_blank"><img src="/images/github-i.png"></a>
<a href="https://twitter.com/" target="_blank"><img src="/images/twitter-i.png"></a>
<a href="https://www.facebook.com/" target="_blank"><img src="/images/facebook-i.png"></a>
<a href="https://t.me/" target="_blank"><img src="/images/telegram-i.png"></a>
<a href="https://medium.com/" target="_blank"><img src="/images/m-icn.png"></a>
</div>
</div>
I want to align all the social icons evenly but using "text-justify" class doesn't seem to work. Even though applying "text-center" class on the "social-icons" div centers the icons, I need them justified.
Here's the CSS in use:
.social-icons img{
margin-right: 7px;
}
.social-icons{
margin-bottom: 14px;
}
.social-icons a{
display:block;
width: 16.66%;
float:left;
text-align:center;
}
.social-icons img:last-child{
margin-right: 0px;
}
.notify-section .social-icons img{
width: 40px;
}
If anyone can provide guidance on achieving the desired alignment, it would be greatly appreciated. Here's a screenshot for reference.