I am sorry if my question is a bit silly, but It's like my 3rd day of learning html/CSS. Please do not advice me to use JS, cos I have no idea about it (yet). I need to move li elements across the screen, like 1 element has to stick to the left side of the page, another to the middle and the third to the right side. If I am not expressing myself clear please see the screenshot. Thanks!
.contact-information-main-container {
width: 100%;
font-size: 3vw;
}
.contact-information {
width: 100%;
margin: auto;
}
.contact-information-title {
font-weight: 500;
text-align: center;
width: 100%;
}
.contact-information-item {
/* float: left; */
font-family: "Langar";
height: auto;
padding-top: 1%;
}
.contact-link {
margin-left: 1%;
}
#social-media-facebook {
margin-top: 1%;
padding-left: 3%;
list-style: none;
background-image: url("../img/contact-images/facebook-new.png");
background-repeat: no-repeat;
background-position: left center;
background-size: 20%;
display: inline;
}
#social-media-instagram {
margin-top: 1%;
padding-left: 3%;
list-style: none;
background-image: url("../img/contact-images/instagram.png");
background-repeat: no-repeat;
background-position: left center;
background-size: 20%;
display: inline;
}
#social-media-whatsapp {
margin-top: 1%;
padding-left: 3%;
list-style: none;
background-image: url("../img/contact-images/whatsapp.png");
background-repeat: no-repeat;
background-position: left center;
background-size: 20%;
display: inline;
}
#social-media-container {
display: inline;
margin: auto;
}
#social-media-title-ol {
text-align: center;
}
<!-- contact information container -->
<div id="social-media-container" class="contact-information">
<ol id="social-media-title-ol" class="contact-information-title">Social</ol>
<li id="social-media-facebook" class="contact-information-item">
<a id="social-media-item" class="contact-link" href="https://facebook.com">Facebook</a>
</li>
<li id="social-media-instagram" class="contact-information-item">
<a id="social-media-item" class="contact-link" href="https://instagram.com">Instagram</a>
</li>
<li id="social-media-whatsapp" class="contact-information-item">
<a id="social-media-item" class="contact-link" href="https://web.whatsapp.com/">WhatsApp</a>
</li>
</div>