+ 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

14th Nov 2020, 2:27 AM
♨Kamran Ashiq ♨
♨Kamran Ashiq ♨ - avatar
4 Answers
+ 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
14th Nov 2020, 3:52 AM
♨Kamran Ashiq ♨
♨Kamran Ashiq ♨ - avatar
+ 6
Shadoff can you provide an example code please
14th Nov 2020, 9:41 AM
♨Kamran Ashiq ♨
♨Kamran Ashiq ♨ - avatar
+ 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.
14th Nov 2020, 5:34 AM
Shadoff
Shadoff - avatar
- 1
سلام
19th Nov 2020, 8:48 AM
Amir_1385