Home > front end >  Secondary navigation menu can't display, under the guidance of bosses, please. Thank you.
Secondary navigation menu can't display, under the guidance of bosses, please. Thank you.

Time:10-11

Novice, has just started to knock the code, according to the book above the figure is just a little I knock knock code, figure 3 is rendering, figure 4 is my renderings, thank you,

CodePudding user response:

Your secondary ul set a class, and then put the # menu ul li: hover ul li, a change to # menu ul li: hover class of secondary ul

CodePudding user response:

reference IT, 1/f, MrXu response:
your secondary ul set a class, and then put the # menu ul li: hover ul li, a change to # menu ul li: hover class of secondary ul

The changed code according to what you said but still did not show,

CodePudding user response:

Because you have a second ul, display: none, so hover show not to come out, such a change, the style the # menu ul li: hover ul {display: block}

CodePudding user response:

refer to the second floor qq_45975742 response:
Quote: 1/f, reference IT, MrXu response:
your secondary ul set a class, and then put the # menu ul li: hover ul li, a change to # menu ul li: hover class of secondary ul

The changed code according to what you said but still did not show ah,
upstairs, the answer is positive solutions doesn't work, should be the reason why you code

CodePudding user response:

The teacher is speak now, but I can just use the method of the third floor shows, the original method of eldest brother does show not to come out, I in the study,

CodePudding user response:

Teacher storyteller print is wrong, the third floor is a positive solution, but I try not to come out of the ground floor,
  • Related