ProximityEffect
Animate CSS properties based on the pointer's (or another target's) distance from each element.
This microsite hosts code experiments and components. Nothing gets finished.
Reusable pieces, each with its own package on npm.
Each shows off one of the components.
Animate CSS properties based on the pointer's (or another target's) distance from each element.
Custom HTML element to animate nested images. Early alpha.
Custom HTML element to display slideshows.
Individually wrap characters/words in a chosen element, with optional class.
ProximityEffect demo. Dots grow and light up around the pointer.
ProximityEffect demo. Tiles near the pointer lift towards you, in colour and out of focus.
ProximityEffect demo. Double-sided tiles flip over, with horizontal offset.
ProximityEffect demo. Circles rush in from behind the viewer and settle around the pointer.
ProximityEffect demo. A 30x30 grid twisted by scattered skews and scales, with animated threshold.
ProximityEffect demo. A poem split into letters with WrapChars; the ones near the pointer come into focus, as through a lens.
A poem whose letters tumble apart in 3D, gathering back into lines where the pointer is.
A poem whose words tumble apart in 3D, collect around the pointer.
Came up with this to demonstrate responsive image loading. Drag the frame narrower to see the images swap.
Various pure CSS ways to have a portrait split open to reveal a graphic.
A standards-based recreation of a classic Flash website.
Large, overlapping images, a fully responsive layout and vertical centering come together in this comic book inspired experiment.
Contemporary slides-based design focused on large images and typography. Self-configuring to the number of slides.
Experimenting with HTML video events. Includes dynamically resizing and vertically centred video within a responsive, fluid layout. A bit glitchy.