Is there a reason why I am unable to utilize the CSS properties justify-content:
space-between
, or space-around
?
.mobile-page-wrapper {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.mobile-nav {
display: flex;
justify-content: space-between;
}
<div class="mobile-page-wrapper">
<div class="mobile-nav">
<img src="./img/mobile-nav-logo.svg" alt="LOGO" class="logo-mobile">
<ul class="mobile-soc">
<li><img class="mobile-fb" src="./img/Facebook.svg" alt="Facebook"></li>
<li><img class="mobile-vk" src="./img/VK.svg" alt="Vk"></li>
<li><img class="mobile-inst" src="./img/Instagram.svg" alt="Instagram"></li>
</ul>
</div>
<!-- /.mobile-nav -->
<div class="main-idea-mobile">
<h1>SSDSDSDS<br>DASDASD</h1>
</div>
<!-- /.main-idea-mobile -->
</div>
<!-- /.mobile-page-wrapper -->
I am interested in using the combination of justify-content: space-between;
along with flex-direction: column
, but it seems to be causing issues. Any suggestions on how to resolve this problem would be greatly appreciated.