S
S
Star Trooper2016-01-16 17:04:34
HTML
Star Trooper, 2016-01-16 17:04:34

How to make a dropdown menu using div?

Good day to all.
There is a following menu which I want to implement through html/css. Tell me, is it possible to do this using a div tag, or is there a better option?
On the Internet, all drop-downs are basically implemented through ul and li, which are in nav, but this is not a navigation menu, but a separate button, how would it be more correct to implement it?
abd51b71c7f8456baf57a83ba06f8a7c.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
Boris Yakushev, 2016-01-16
@za4me

It can be done.
In those examples on the web, replace ul/li with div.

H
hello world, 2016-01-16
@hello

You make 2 blocks, for example, and through jquery (show as an option, you can toggle) you show the div you need (in your case, fields and a button). The examples have a lot of options.

D
Donald, 2016-01-16
Duck @Don_Donald

So it won't fit?
codepen.io/anon/pen/OMxvbX?editors=110

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question