On the hover problem

when using css as a drop-down menu, why is hover not displayed as long as the child elements of the parent element hover are not displayed? The effect you want should also be shown in the child elements of hover.

Css
Mar.24,2021

I think you can write this, limiting the height of your element to one line, and then
xxx:hover {
height write the normal height
transition height 1s
}
should be fine


father:hover children {

display: block;

}

Menu