-1

I'm trying to up the menu layer using z-index. Its working on chrome, FireFox, I.E, Safari and other small screens (Android Mobiles). But it doesn't work in iphone 6 safari browser. Following are the my code.

CSS

.main-menu-nav ul.custom-dropdown li {
    z-index: 10000;
    background: #e7058c;
    border-bottom: 1px solid #F97DC7;
}
.nav>li {
    position: relative;
    display: block;
}

HTML

<ul class="nav navbar-nav custom-dropdown">
    <li class=""><a href="#">special</a></li>
</ul>

I searched about it and find a well explained answer, i tried this but does not working. Can any one guide me how can fix this issue.

Community
  • 1
  • 1
Ayaz Ali Shah
  • 3,453
  • 9
  • 36
  • 68

1 Answers1

0

You may use transform: matrix3d(); instead on z-index

Where you can set "X" "Y" "Z" axis of an object.

FelixSFD
  • 6,052
  • 10
  • 43
  • 117
Asm Hijas
  • 77
  • 4