Snake Trail
cursor leaves a glowing tail
1 of 40
BG
Cursor
Highlight
Copy
How to use
✕
How to use
Click
Copy
to grab the code snippet
Paste into a
<script>
tag before
</body>
, or save as a
.js
file and link it
The effect activates automatically on
mousemove
— no extra HTML or CSS needed
To hide the default cursor,
cursor: none
is applied to
body
automatically
Customise the hex values at the top of the snippet (
BG
,
CURSOR
,
HL
) to match your palette