I am currently working with a code snippet:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<header>
<div class="container">
<div class="row">
<div class="col-lg-3">
<div class="logo">
<img src="#" alt=" logotype">
</div>
</div>
<div class="col-lg-9">
<div class="head-buttons mr-auto">
<a href="">Русский</a>
<div class="auth-buttons">
<button>Войти</button>
<button>Регистрация</button>
</div>
</div>
</div>
</div>
</div>
</header>
I am facing an issue where I want all content within the col-lg-9
div to align to the right. However, using mr-auto
is not working as expected. I have also tried using justify-content-end
on the row, but that didn't work either. How can I fix this alignment problem?