New course! Every coder should learn Generative AI!
Try a free lesson0
What is hover and how to use it ?
Please give me a suitable answer.
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...