0
I want to make this code responsive, but always stop being responsive when there are two lines and three columns.
nav li {
display: inline-block;
}
nav a {
display: block;
padding: 1em;
margin: .25em;
background-color: #F1F1F1;
text-transform: uppercase;
width: 16em;
}
<nav>
<ul>
<li><a>Dados Pessoais</a></li>
<li><a>Meus Objetivos</a></li>
<li><a>Conhecimentos</a></li>
<li><a>Formação Acadêmica</a></li>
<li><a>Cursos Complementares</a></li>
<li><a>Idiomas</a></li>
</ul>
</nav>
Here is responsive. What you wanted exactly?
– Sam
Put these properties in a file and use screen simulator on them that it Uga is not responsive
– Alexandre Saura
That’s what I did. According to the screen size, these buttons will align automatically.
– Sam
But you changed by screen or browser simulator? Why the screen is normal now when simulates a mobile phone is not responsive
– Alexandre Saura
Yes, by devtools with responsive screen.
– Sam