Is it necessary to use flexbox, or is there an easier way to achieve the same result? It has been a while since I last practiced and I can't seem to remember much.
.sadaka-contacts p {
color: #115c9b;
font-size: 14px;
line-height: 1.42;
}
.sadaka-contacts li {
list-style: none;
width: 35px;
height: 35px;
background: #1f76bd;
margin-bottom: 5px;
display: flex;
justify-content: center;
align-items: center;
}
.sadaka-contacts li i {
color: white;
}
<div id="contact-area" class="sadaka-contacts">
<h3>SADAKA CONTACTS</h3>
<p>Sadaka ipsum dolor sit amet, consectetur adipiscing elit. Ut at eros rutrum turpis viverra elementum semper quis ex. Donec lorem nulla.</p>
<ul>
<li>
<i class="fa fa-map-marker"></i>
<p>135 Hay el nahda, Rabat, Morocco</p>
</li>
<li>
<i class="fa fa-phone"></i>
<p>00 210 25 55 55 11</p>
</li>
<li>
<i class="fa fa-envelope"></i>
<p><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5d303c34311d3932303c3433733e3230">[email protected]</a></p>
</li>
</ul>
</div>
This is how it currently looks.
This is the desired look for the design.