A
A
Anton2016-02-13 20:08:27
css
Anton, 2016-02-13 20:08:27

How to fix dropdown and panel z-index issue?

Hello!
There is a drop down menu which is in the first panel. When opened, it "climbs" under the second panel.
63b7ce3861894fd295bdd7c22c8b38c5.png
It's all to blame:

<div class="panel panel-default" style="opacity: 0.9;">

Each block is allegedly individually set opacity, so one goes under the other. Tried to remove opacity - everything became normal.
Adding an additional opacity class didn't help either. Adding opacity to the panel-default class didn't help either.
How can it be cured?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bro-dev, 2016-02-14
@xPomaHx

If you set a z-index and it doesn't work, then you haven't read the docs by z-index. try placing the one that runs over and the one that runs under position: relative;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question