Two overlapped images masked into alternating rounded triangles, demonstrating CSS radius hover animations

Morphing Rounded Triangle Image Mask

This is a Morphing Rounded Triangle Image Mask. It relies on advanced CSS mathematics and masking to clip raster graphics into smooth, interlocking geometric shapes. Its function is to replace standard grid layouts with organic, tessellating image tiles that physically react to user interaction.

Technologies:
HTML CSS
Difficulty: Advanced
Browser Support (as of Apr 2026):
Chrome Chrome 111+ Edge Edge 111+ Firefox Firefox 117+ Safari Safari 16.4+
Features:
Radius Animation Math Functions CSS Masking
Code by: Temani Afif Temani Afif
License: MIT
Grid gallery of raster images cut into intricate geometric shapes like diamonds and concentric circles using precise vector masking

Complex Geometric Image Masks

This is a collection of Complex Geometric Image Masks. It shapes standard rectangular images into precise, multi-part vector forms using a single HTML node. Its function is to break rigid grid layouts and introduce structural visual interest without requiring external SVG assets.

Technologies:
HTML CSS
Difficulty: Intermediate
Browser Support (as of Apr 2026):
Chrome Chrome 88+ Edge Edge 88+ Firefox Firefox 71+ Safari Safari 13.1+
Features:
Vector Masking Static Geometry
Code by: Chris Smith Chris Smith
License: MIT

See the Pen Complex Geometric Image Masks.

Pure CSS Waves

Experimental visualization utilizing CSS Custom Properties (@property), the CSS Shapes module (shape()), and relative color syntax (hsl(from ...)). Fluid deformation of wave-like layers is achieved by animating clip-path with arc and line primitives. Background and graphic color states are synchronized via a shared --color variable, which transitions dynamically throughout the animation sequence.

See the Pen Pure CSS Waves.

Custom property --k animates between 0 and 1, driving a clip‑path defined by a non‑standard shape() function — likely a placeholder or experimental syntax. The path appears to morph the image edges, creating a wave‑like distortion.