I am trying to arrange two elements, one on the most right and the other on the most left side. I have attempted to use justify-content-between but it doesn't seem to be working and I'm not sure why.
HTML
<div class="post-left d-sm-flex justify-content-between">
<ul>
<li>
<div class="post-author">
<div class="avatar avatar-online avatar-xs">
<a href="doctor-profile.html"><img src="assets/img/doctors/doctor-thumb-01.jpg" class="avatar-img rounded-circle" alt="Post Author">
<span>username</span></a>
</div>
</div>
</li>
<li class="h4 "><i class="fas fa-money-bill-alt money"></i>400 $</li>
</ul>
</div>
style
.post-left ul {
list-style: none;
display: flex;
justify-content: center;
align-content: center;
align-items: center;
flex-wrap: wrap;
padding: inherit;
}
.post-left ul li {
color: #15558d ;
margin-bottom: 5px;
margin-left: 10px;
}