I changed standard cursor to grab. What i would like in addition is that cursor (grab) changes color, not background.
Here is a part from javascript. I manage with “grab” but not with color change. Any advice?
x.addEventListener('mouseover', () => {
// Change the button's background color
x.style.cursor = "grab";
x.style.Color = "red"
});
New contributor
Marin Mirošević is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.