+ 9
How can I make a hidden navigation bar
I want the nav bar to be ------- ------- ------- At the left top corner & on clicking on it the nav bar appears just like slides down And it becomes a \ / / \ cross and when clicking on this X the nav bar again disappears https://code.sololearn.com/Wjy7yG6XIzgN/?ref=app https://code.sololearn.com/WHcYV8aOhCHN/?ref=app
4 ответов
+ 8
Kevin ★ No I want it to be
-------
-------
-------
At the left top corner
& on clicking on it the nav bar appears just like slides down
And it becomes a
\ /
/ \
cross
and when clicking on this X the nav bar again disappears
+ 6
Shadoff can you provide an example code please
+ 2
1. Use ready solution, bootstrap.
2. Use react
3. Make it using vanilla js
hint: toggle button on click function to hide/show element
4. Make it using pure css
check box labeled as button
to show/hide element
Anyway, the all above mentioned ready solutions are in codepen already exists.
- 1
سلام