how to change size of menu on moving mouse on it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to change size of menu on moving mouse on it?

can anyone tell me how to create a menu like when i will move cursor on it chages its size or something translation on it?

5th Oct 2016, 4:42 PM
rupali magar
rupali magar - avatar
3 Answers
+ 2
put a :hover state #mymenu:hover { all the code set here will be displayed when the mouse is hover the button }
5th Oct 2016, 7:41 PM
Scotti
Scotti - avatar
+ 1
whatever class it is.. use that class or div & attach.. <div id= "foo" > Your text </div> <style> #foo:hover { background : crimson; color : #fff; } </style>
24th Sep 2017, 5:51 AM
Saurav Sony
Saurav Sony - avatar
0
ty i will try it
6th Oct 2016, 2:47 AM
rupali magar
rupali magar - avatar