I am faced with a challenge of customizing the cursor for my application. The issue is that cursors appear differently in OSX compared to Windows; black in OSX and white in Windows.
I am considering creating two different cursors, one in white and one in black. How can I dynamically switch between these cursors based on the user's operating system using CSS?
.custom-cursor-windows {
cursor: url('windows-cursor.svg') 0 0, auto;
}
.custom-cursor-mac {
cursor: url('mac-cursor.svg') 0 0, auto;
}