@shubhamthedev
Posted
Okay i see that you've posted a new solution but you could as well update your previous solution by changing the source of your repository. Anyways the hamburger is usually made using JavaScript although i sometimes use something known as a checkbox hack which you could learn more about here: Checkbox Hack this doesn't require JavaScript.
As for the code you've written, I'll be honest i really couldn't understand how you've implemented it since hovering over the header displays the drop-down and in my opinion you would probably need to write a JavaScript function for that.
You could learn about it W3S.