Can’t control <a>
red color & white hover for social icons mailto and "#"
phone. Instagram works ok. (Pink & Purple borders are so I know where flex areas are.)
Suggestions please.
<!-- Footer --> <footer class="footer" id="footer" footer> <div class="container"> <div class="footer-contact"> <div class="card1"> <a href="#" class="social-icon"><i class="fa-4x fa-inverse fa-phone-volume fas"></i></a> <p>(213) 984-7965</p> </div> <div class="card2"> <a href="mailto:thesmoksbbq@gmail.com" class="social-icon"><i class="fa-4x fa-inverse fa-mail-bulk fas"></i></a> <p>thesmoksbbq@gmail.com</p> </div> <div class="card3"> <a href="https://www.instagram.com/smokes_bbq/" class="social-icon"><i class="fa-4x fa-instagram-square fab"></i></a> <p>@smokes_bbq</p> </div> </div>
`/* FOOTER */
.footer .container {
max-width: 1100px;
margin: auto;
gap: 1rem;
border: pink solid .5rem;
align-items: center;
}
.footer-contact {
display: flex;
flex-wrap: wrap;
color: #ffffff;
font-weight: 800;
width: 100%;
height: 50%;
border: purple solid .5rem;
}
.footer .card1 {
display: flex;
margin: 1rem auto;
padding: 1rem;
background-color: var(–background);
border-radius: .5rem;
align-items: center;
}
.footer .card2 {
display: flex;
margin: 1rem auto;
padding: 1rem;
background-color: var(–background);
border-radius: .5rem;
align-items: center;
}
.footer .card3 {
display: flex;
margin: 1rem auto;
padding: 1rem;
background-color: var(–background);
border-radius: .5rem;
align-items: center;
}
a i {
color: red;
margin-right: 1rem;
cursor: pointer;
}
a i :hover {
color: white;
margin-right: 1rem;
cursor: pointer;
}
/* FOOTER media query */
.footer .container {
flex-direction: column;
}`