HTML & CSS create responsive menu

Asked

Viewed 689 times

1

I need your help, I’m programming a website, I want it to be responsive. I created a bar, this is responsive, and I put the menu horizontally on the right side of the screen, on the left side I put the logo of my site, but this is not responsive... the code I have is as follows:

<body>
  <div class="barra">
    <div class="logo">
      <a href="home.html"><img src="logopequeno1.png"  width="50%" height="10%"></a>
    </div>
    <div class="menu">
      <ul>
        <li><a href="novo.html">Sobre</a></li>
        <li><a href="portefolio.html">Portefólio</a></li>
        <li><a href="contactos.html">Contactos</a></li>
      </ul>
    </div>
  </div>
</body>

Why can’t I put the logo responsive like the menu?

  • 7

    Responsive is a word that means nothing in practice. It would be nice for you to explain whatever actually happens, increase the chance of good answers.

  • 1

    Isn’t it worth it for you to use some framework that makes it easier? Like bootstrap, for example?

  • Post more of your code, your CSS for example. And as @Bacco said, you’d better explain whatever happens to your layout.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.