I am designing different SVG images for my mouse cursor, but it seems that I am missing something obvious. Here is a minimal example with a simple PNG circle:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Cursor</title>
<style>
.hoverText {
display: block;
margin-left: auto;
margin-right: auto;
width: 40%;
text-align: center;
}
.hoverText:hover {
cursor: url('circle.png'), pointer;
}
</style>
</head>
<body>
<div class="hoverText">Test</div>
</body>
</html>
Thank you for your help!