Four Gradient Modes
Linear fades, circular spotlights, elliptical vignettes, and 360-degree conic sweeps give you complete creative control.
Create responsive CSS masks with linear, radial, vignette, and conic alpha gradients. Test on custom photos or gradient cards, customize stops and origins, then copy production-ready CSS.
Transparency reveals the underlying background stage
Smooth linear, radial, vignette, and conic alpha gradients.
linear-gradient(180deg, black 25%, transparent 85%)
Ready to customize CSS mask.
Standard + WebKit properties for broad browser compatibility
.masked-element {
-webkit-mask-image: linear-gradient(180deg, black 25%, transparent 85%);
mask-image: linear-gradient(180deg, black 25%, transparent 85%);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
}Select Linear for edge fades, Radial for circular spotlights, Vignette for photo framing, or Conic for rotational sweeps.
Adjust angle, center X/Y position, and opaque/transparent stops. Toggle inversion to flip reveals into cutouts.
Copy clean CSS with vendor-prefixed properties for Safari, or download a standalone stylesheet ready for your website.
Linear fades, circular spotlights, elliptical vignettes, and 360-degree conic sweeps give you complete creative control.
Emits standard mask-image alongside -webkit-mask-image so your gradients render smoothly across Chrome, Firefox, Safari, and iOS.
Generates dual standard and WebKit CSS properties for broad cross-browser compatibility while letting you test fades live on custom photos or sample cards.
A CSS mask uses opacity (alpha) to control the visibility of an element. Opaque areas of the mask reveal the underlying element, while transparent areas hide it. Unlike hard clip-path shapes, gradient masks create soft, continuous fades and feathered edges.
While standard mask-image is broadly supported in modern browsers, Safari and older WebKit-based browsers still require or perform more reliably with vendor-prefixed -webkit-mask properties. We emit both standard and prefixed declarations together for broad cross-browser compatibility.
CSS clip-path creates a binary geometric boundary (either fully inside or fully outside the polygon or shape). CSS mask-image supports partial transparency, enabling soft gradient fades, feathered vignettes, blurred spotlights, and repeating alpha textures.
Invert swaps the transparent and opaque color stops of the gradient. For example, a radial spotlight that normally reveals the center and hides the edges will instead create a center cutout hole with visible outer edges when inverted.
Adjusting mask-size scales the gradient pattern relative to the element, while enabling mask-repeat tiles it across the surface. Together, they let you build striped reveals, dot grids, and repeating transparency patterns with pure CSS.
Design polygon, circle, ellipse, and inset clip paths visually with live handles.
Create linear, radial, and conic CSS gradients with live preview and code export.
Create responsive CSS speech bubbles with tail pointers on any side.