Cursor Follower (Blend Mode Circle)

Desktop · 1280px · shown at 0% · edit the text, images and colours in the panel

Cursor Follower (Blend Mode Circle) — Free Website Section Template

Cursor & page effects · v1.0.0 · Updated 2026-10-30 · Responsive · GSAP animation · HTML, React & Vue

Tagscursorcursor followermix blend modeinvertmouseeffectdifferencegsap freedark
Updated October 20, 2026

What's included

Features

Circle that follows the mouse across the whole page, drawn with position fixed
Inverts or recolours content underneath with mix-blend-mode
Nine blend modes: difference, exclusion, multiply, screen, overlay, soft light, hard light, color dodge and normal
Circle size from 20 to 240 pixels and any hex colour
Optional border with thickness and a solid, dashed, dotted or double style
Filled circle or ring-only look
Four smoothness levels from instant to floaty
Grows over links and buttons, with an option to hide the normal cursor
Transform-only animation in a loop that stops when idle, and no circle on touch screens
One switch to turn the effect off, and a live demo in the editor

About this section

Cursor Follower: Free Circle Cursor That Inverts the Page With Blend Modes

Cursor Follower (Blend Mode Circle): A circle that follows the mouse across the whole page and inverts or recolours the text and images under it with a CSS blend mode. Choose its size (about 50 to 100 pixels or any size you like), colour, blend mode (difference, exclusion, multiply and more), how smoothly it follows, and an optional border thickness and style. It can grow over links and buttons, switches off on touch screens and uses transforms only, so it stays smooth.

Cursor Follower puts a circle on the page that trails the mouse and inverts or recolours whatever text and images are underneath it. It is made with a single fixed element and the CSS property mix-blend-mode, so the effect works over the whole page: text, photos, gradients and buttons. It is plain HTML, CSS and a short vanilla JavaScript file, with no library.

The blend mode effect

With the Difference blend mode and a white circle, every colour under it flips to its opposite, so black text turns white and a blue photo turns orange. Exclusion gives a softer version, Multiply darkens, Screen lightens, and Overlay, Soft light, Hard light and Color dodge each bring their own look. Change the circle colour to tint the result, or choose Normal for a plain coloured circle.

Size, border and fill

Set the diameter from 20 to 240 pixels, with around 50 to 100 working best. Add an optional border with a thickness and a style (solid, dashed, dotted or double), and switch the fill off to get a ring that only outlines what it covers. A ring with no border automatically gets a thin one, so it never disappears.

Smooth and light on the browser

The circle eases towards the pointer inside a requestAnimationFrame loop, and the loop stops as soon as it has caught up. Four smoothness levels run from instant to floaty. Only the transform property is animated, which the browser can do on the graphics card, so scrolling and typing stay smooth. On phones and tablets without a mouse the circle is not created at all.

Works across the entire page

On a real page the circle is moved to the end of the body and drawn with position fixed, so page layout, overflow and stacking never affect it, and it blends with everything. It can grow over links and buttons, and you can hide the normal cursor if you want the circle to replace it. People who prefer reduced motion get a circle that sticks to the pointer without easing.

Customise and export

An editor demo shows the effect over large text and a gradient before you export. Turn the effect off with one switch, then export HTML, a ZIP, React or Vue, or fork it into My Code. Pair it with a bold Pinned Scroll Story or an Interactive Team Accordion for a playful portfolio.

Extend with AI

Take This Section Further With AI

Ask an AI assistant to adapt the Cursor Follower HTML, CSS and JavaScript: add a text label inside the circle, change its size on click, use GSAP quickTo for the movement, or turn it into a React hook.

Prompt to recreate it

Copy this into your AI assistant of choice to build the effect from scratch, or as a jumping-off point for your own variant:

text
Create a circular cursor follower in plain HTML, CSS and vanilla JavaScript.

- A single div (80px by default) that is position fixed, border-radius 50 percent, pointer-events none, with a very high z-index and mix-blend-mode set to difference, with a white background so it inverts the page under it.
- Follow the mouse across the whole page: on mousemove store the pointer position, and in a requestAnimationFrame loop move the circle towards it with linear interpolation (a smoothness factor between 0.05 and 1). Move it with transform translate3d only and stop the loop when it has caught up.
- Settings as data attributes: size, colour, blend mode (difference, exclusion, multiply, screen and others), border width and style, filled or ring-only, smoothness.
- Scale the circle up to 1.6 over links, buttons and inputs. Optionally hide the normal cursor.
- Fade it in on the first move and out when the pointer leaves the window. Do not create it on touch screens (hover: none), and use no smoothing for prefers-reduced-motion.

Want to tighten it up first? Run this prompt through the AI Prompt Studio to score it across 8 quality dimensions, catch anti-patterns, and tune the wording for Claude, ChatGPT, or Gemini before you paste it in.

Why use it

Why Use the Cursor Follower (Blend Mode Circle)

🎨
Striking with almost no code
One element and one CSS property invert text and photos across the page, so a plain site gets a memorable hover effect in minutes.
⚡
Easy on the browser
It animates transforms only, stops its loop when idle and is not created on touch screens, so scrolling and typing stay smooth.
🎛
Tune every detail
Size, colour, blend mode, border, fill and smoothness are fields in the editor, so you can match your brand and design without editing code.

How it’s different

How It’s Different From Other Free Section Templates

✎
Editable, not just copyable
Change text, links, images, colours and fonts in the browser before you export, instead of editing someone else’s code by hand.
◐
One theme for every section
Colours, fonts, radius and width are shared CSS variables, so every section you combine looks like one website.
⇲
Responsive by container
Container queries make each section adapt to its own width, in a full page, a column or a page builder.
✦
GSAP animation built in
Every section animates in with GSAP and ScrollTrigger, stays visible without JavaScript and respects reduced motion.
</>
HTML, React and Vue
Export a single HTML file, a ZIP with your images, a React component or a Vue component, or fork the code into My Code.
◍
Free, private, saved
No account and no watermark. Designs, uploaded images and fonts stay in your browser, with a backup file you can restore anywhere.

Step by step

How to Use

  1. 1
    Edit the contentFill in the circle, border (optional) and movement in the panel. Wrap words in *asterisks* to colour them.
  2. 2
    Add your imagesUpload your own images (resized in your browser and kept on your device) or paste a hosted image URL.
  3. 3
    Match your brandPick a colour preset or exact colours, choose heading and body fonts from Google Fonts or your own uploaded font, set the corner radius and width, or apply your brand kit.
  4. 4
    Animate and previewChoose a GSAP entrance effect and speed, press Play animation, and check the section on desktop, tablet and mobile.
  5. 5
    Save and exportSave it to My designs, then export a single HTML file, a ZIP with your images, a React or Vue component, or fork it into My Code.

Real-world uses

Common Use Cases

🎨
Portfolio and agency websites
Make large headlines and project images react to the pointer, so a studio site feels bold and playful before anyone reads a word.
📷
Photography and art sites
Let visitors uncover inverted or tinted views of a photograph as they move, turning a simple gallery into something worth exploring.
🎵
Music, events and festivals
Pair a high-contrast circle with big type and gradients on a lineup or tour page for a loud, energetic feel that suits the brand.
🔤
Typography-led landing pages
Show off a headline or poster-style layout where inverted letters under the circle highlight the type and guide attention.

In real websites

Website Templates That Use the Cursor Follower (Blend Mode Circle) Section

The Cursor Follower (Blend Mode Circle) section is part of 4 complete website templates in the free Website Builder, so you can see it in a full page before you use it on its own: Creative Agency Website, Personal Portfolio Website, Photographer Website, Music Artist & Band Website. Open any of them in the builder to edit the whole page, or keep customising this section by itself.

Got questions?

Frequently Asked Questions

The circle is a fixed element with the CSS property mix-blend-mode set to difference. The browser blends it with the pixels underneath, so a white circle flips each colour to its opposite.

No. Only the transform property is animated, the loop stops when the circle has caught up with the pointer, and nothing is measured on scroll. On touch screens no circle is created.

Yes. Choose from nine blend modes, including difference, exclusion, multiply and screen, and set any hex colour. Different combinations invert, darken, lighten or tint what is under the circle.

Yes. On a real page the circle is moved to the body and drawn with position fixed, so it follows the pointer over every section, and it blends with text, images and backgrounds.

It can be if it hides the normal cursor or distracts. The default keeps the normal cursor, the circle ignores pointer events, and reduced motion removes the easing. Keep important actions obvious and test with real users.

It saves an editable copy of your Cursor Follower (Blend Mode Circle) in My Code, the UI Snippets code editor: the section markup goes in the HTML panel, its CSS (theme variables, base styles and layout) in the CSS panel, and the GSAP library is added as a CDN link, so you can keep refining the code and save your own versions.

Yes. It is free for personal and commercial websites, with no sign-up, no watermark and no attribution required. Everything runs in your browser and your edits are saved locally.