Answer the question
In order to leave comments, you need to log in
How to change position during adaptation?
HTML:
<header>
<div class="container">
<div class="main row justify-content-between align-items-center">
<div class="col-md-auto logo">
<img src="css/img/logo.png" alt="">
</div>
<menu class="col-md-auto">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</menu>
</div>
</div>
</header>
.main {
background-color: pink;
}
menu{
display: flex;
list-style: none;
& li{
margin-right: 50px;
}
}
Answer the question
In order to leave comments, you need to log in
Set media queries to the correct position for the required screen size.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question