What is hover and how to use it ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is hover and how to use it ?

Please give me a suitable answer.

16th Aug 2017, 3:25 AM
mohit verma
mohit verma - avatar
1 Answer
0
thats some action thats triggered when you put your mouse on element <button> Click </button> css button { background-color: grey; } /*putting your mouse on button changes background color*/ button:hover { background-color: black; } it can be use for a lot of elements: button, input, anchor...
16th Aug 2017, 8:19 PM
Šimun Ivanac
Šimun Ivanac - avatar