everyone.
I am trying to create a footer for contact information on a webpage. When I center these items within their grid item they don't start at the same position because they are different lengths.
There must be something I'm missing that is not allowing me to achieve this.
Thanks in advance to anyone who helps.
CSS:
.text-styles {
list-style: none;
font-family: 'Roboto', sans-serif;
font-size: 100%;
letter-spacing: 2px;
}
.contact-text {
color: rgba(99, 99, 99, 1.0);
text-decoration: none;
}
.foot-list {
text-align: left;
HTML:
<section class="p-5 bg-warning">
<div class="container">
<div class="row">
<ul class="col contact-text m-0 foot-list">
<li class="text-styles text-center">
<img class="social-icon m-3" src="./images/phone.png">Ruth: 888 888 888
</li>
<li class="text-styles text-center">
<img class="social-icon m-3" src="./images/phone.png">Lisa: 888 888 888
</li>
</ul>
<ul class="col contact-text m-0 foot-list">
<li class="text-styles text-center">
<a class="social-link text-styles" href="#"><img class="social-icon m-3" src="./images/instagram.png">@xxxxxxxxxxxxxxxxx
</li>
<li class="text-styles text-center">
<img class="social-icon m-3" src="./images/gmail.png">xxxxxxxxxxxxxx@gmail.com
</li>
</ul>
</div>
</section>
I have tried different variation of grid and flexbox to achieve my goal but have been unable to get the desired result.