Css cascading problem

clipboard.png

clipboard.png

clipboard.png

how can this drop-down be broken when it is covered
Css
Oct.11,2021

adjust the value of z-index. For example,

.footer {
    ....
    z-index: 1;
}
.[] {
    ....
    z-index: 99;
}

want to know if position? is set for your drop-down. Just set it to the following style.

position: relative; // absolute
z-index: 1;

is equivalent to the child node of the sibling node occupying its own position, and the default is to cover it.
according to the description of the great god Zhang Xinxu, under normal circumstances, the z-index does not need to exceed 2, so it is very easy to be familiar with this kind of problem.

Menu