I was able to add animation to the navbar when it expands on click, but I wasn't able to do the same when closing the navbar. If anyone can provide me with a resource on how to do so, I will be extremely grateful. Also, if anyone can tell me how to add a backdrop when the navbar expands on click, that will be of huge help. Any other suggestions or tips are welcome as well.
pankaj ram pawar
@pankajrampawarAll comments
- @Aayush895Submitted 12 months ago@pankajrampawarPosted 12 months ago
hey Aayush, for the backdrop use a position-fixed div with screen height and width, reduce its opacity and give it a light grey or slate colour, make sure it has a Index higher than page but lower than sidebar. toggle the visibility of the backdrop based on visibility of the sidebar. and there you go.. I hope you find this helpful.
Marked as helpful0 - @opolis8Submitted 12 months ago
any feedback is much appreciated
@pankajrampawarPosted 12 months agoHey I went through your project and apparently there is some error about resource loading, putting simply the drop down menu's were not effective.
Marked as helpful0