@RazaAbbas62
Posted
There are two ways to achieve that behavior
/* Regular cursor color */
body {
cursor: default;
}
/* Change cursor color on hover */
body:hover {
cursor: url('path/to/black-cursor.png'), auto;
}
Or if u don't have that black cursor image you can do like
/* Change cursor color on hover to solid black */
body:hover {
cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAf0lEQVR42mP8/wc/AwAB/ABsAAdUoJ9QAAAABJRU5ErkJggg=='), auto;
}
Marked as helpful
@Nrotsa
Posted
@FazeenIjaz Thank you very much