O
O
Oleg Komenda2017-10-14 10:17:56
css
Oleg Komenda, 2017-10-14 10:17:56

How to make such a hamburger menu?

Help, I need to make a menu like on this site - " previews.aspirity.com/danny " (to see the menu you need to reduce the screen width to 700px)
I don't know how to make such menus, I hope for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Tivikov, 2017-10-15
@tivikovv

You create an identical menu, but ul is already with a different class, you set styles for this "mobile" menu, how it should look in the end,
then you do top: -100%;
you create for this menu a class active, for it one property top:0;
And then using jquery you make a click event where you only have the active class

A
A person from Kazakhstan, 2017-10-14
@LenovoId

there are actually two menus, one works in desktops and the second in mobile phones ..
the code inspector gives this, but although it may be that it is simply cloned

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question