+ 5

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

22nd Aug 2019, 5:19 PM
Divyanshu Mishra
Divyanshu Mishra - avatar
2 Réponses
+ 2
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.
22nd Aug 2019, 6:34 PM
Tugay Mandal
0
Yes it is very easy using jQuery. I learned it and now it is awesome 👍
27th May 2020, 11:19 AM
Divyanshu Mishra
Divyanshu Mishra - avatar