Problems of animation

Asked

Viewed 30 times

0

Good I’m having a problem in the responsibility of my web page due to navbar. In the navbar when the screen is less than 540px wide the navbar gets the dropdown but my problem is that the content of the dropdown is superimposed by another div as you can see here

http://casimirowebshare.000webhostapp.com/nutrirossio/produtos.php

I’ve tried to put the div position in relative and it works but all the animations I have on the page are without animations , so :

.dropdown-content {
   position: absolute;
   width: 100%;
   z-index: 1;
}
.artigos_para_venda{
   z-index: -1;
   position: relative;
}

http://casimirowebshare.000webhostapp.com/nutrirossio/contactos.php

Someone knows how to solve?

  • Do a [mcve], please.

  • ja @Andersoncarloswoss

  • Having to access an external link and to know the code would need to access the source code and analyze a whole page of HTML. Why not simplify this and play the problem using the Sopt snippet?

  • as such @Andersoncarloswoss

  • @Rafaelcasimiro guy, and if you don’t use display: absolute; in the .dropdown-content, because it will end up in the same look.

  • @Lucas but if I take display: Absolute; the dropdown will not be over the div

  • @Rafaelcasimiro doesn’t need to be on top, just then

  • @Ucas for me it is necessary

  • @Rafaelcasimiro thinks well, if you let absolute will cover the search and the title.

  • 1

    @But that’s what I want

Show 5 more comments
No answers

Browser other questions tagged

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