Blend Difference

HTML to video · Captions · Apache-2.0

What it does

Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background. Paste-in snippet: it registers no timeline, you wire it into your own.

Get it

Paste its markup, CSS and script into your composition, then add the timeline lines from the comment at the top of the file to your own GSAP timeline. demo.html in the folder shows it running.

Source on GitHub
Needs

Loads its libraries from the network when it renders (cdn.jsdelivr.net).

Re-skin

Edit the file (pictures)

No declared variables and no colors or fonts of its own found; what it shows is set by the markup and script in the file.

License

Apache-2.0

License notes are on the pack's page

From

HyperFrames

Everything from HyperFrames in the gallery

Back to the Asset Library