css change color on hover
<!-- To change the color when hovering in CSS, you will use the CSS selector called :hover Example: --> <style> button:hover { background-color: darkred; } </style>
Source: learn.coderslang.com
hover change background color
/* Change background color on hover */ .myClass:hover { background-color: yellow; }