+4

How can we make a menu bar icon which respond on the mouse cursor by using html

8/22/2019 5:19:49 PM

Divyanshu Mishra

1 Answer

New Answer

+3

You can use Bootstrap if you want ready to use ones. If you want to create it yourself: my suggestion is create 3 divs inside 1 div with margins and color them. If you want it to respond on your mouse without clicking you can use "."(class) or "#"(id) : hover ---- in your css you can also use : active but it only works when you click continuously if you want an on click effect you should use Javascript. like <button class="a" onclick="myFunction()"> etc. or you can use jQuery with javascript. It is easier.