1 decade ago by hallsofvallhalla
Whats the best method to change the mouse cursor? I can't seem to get anything to work. Like change the arrow to a target when over the canvas.
This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact
#canvas { ... cursor: url(cursor-image.png), auto; }
#canvas { ... cursor: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='), auto; }
cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjbQg61aAAAADUlEQVQYV2P4//8/IwAI/QL/+TZZdwAAAABJRU5ErkJggg=='), url(media/blank.cur), none !important;