Classic two-layer cursor with a sharp dot and trailing ring. Clean and versatile.
<!-- Paste before </body> --> <div id="cursor-dot"></div> <div id="cursor-ring"></div>
Add the HTML structure before your closing </body> tag
Include the CSS in your stylesheet or <style> tag
Add the JavaScript code in a <script> tag or external file
Move your mouse to see the custom cursor in action!
Update the color values in CSS to match your brand
#60a5faModify width and height properties to scale the cursor
Change transition duration values for faster/slower animations