How to create a CSS only (vertical) drop-down menu?

前端 未结 3 418
天涯浪人
天涯浪人 2020-12-14 04:52

Good afternoon,

My current task is to create several stylesheets for a website. One of the websites styles requires me to create a drop-down menu, I however am not a

3条回答
  •  忘掉有多难
    2020-12-14 05:37

    The code is wrong on the last post.

    You can't have more than 1 ID with the same name in a document, so if you use the code above, you'll need to change

    ID="global-subnav" to class="global-subnav"

    and then change the CSS from

    #global-subnav to .global-subnav

提交回复
热议问题