Glass surface
Blur the background and catch the pointer light along the edge.
Get the CSSGive your interface a little light.
Glass surfaces and glowing edges, in any framework. Start with CSS; add pointer light when you want it.
Inside <head>.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@monabbous/lumenmorph@0.3.2/dist/css/lumenmorph.min.css">One element, with an optional glowing border.
<article class="lumenmorph lumenmorph-border" style="padding: 2rem">
<h2>Hello, glass.</h2>
Your content
</article>Optional. Add before </body>; static glass needs no JavaScript.
<script type="module">
import { trackPointer } from "https://cdn.jsdelivr.net/npm/@monabbous/lumenmorph@0.3.2/js/pointer.mjs";
const stop = trackPointer();
// Call stop() if you remove the effect.
</script>Pick a theme. Move the light. Copy the result.
Blur the background and catch the pointer light along the edge.
Get the CSSOptional SVG adapter.
Icon GitHub (brands)
Choose from Font Awesome Free, or use your own filled SVG path.
The star card and HTML text with your material settings. Published CSS, optional Font Awesome icons. No hidden lab styles.
Try a working interface, edit its source, then export HTML. No framework required.
The effect is optional. Native content and controls should still work without it.
Automated checks cover Chromium, Firefox, and WebKit, plus mobile-emulated Chromium—not every physical phone. Without blur, the tint remains. Test your target devices for fixed backgrounds and SVG effects.
| Feature | Full support | Partial |
|---|---|---|
| backdrop-filter | 97.25% | 0.00% |
| CSS masks | 94.42% | 2.98% |
| CSS variables | 97.39% | 0.00% |
| background-clip: text | 97.28% | 0.12% |
Snapshot checked . Caniuse source data · CC BY 4.0. Full support includes prefixed implementations classified as supported by Caniuse. This is not a percentage of Lumenmorph compatibility: color-mix(), SVG-specific behavior, and rendering bugs are not included. CSS masking is a broad feature; partial support does not guarantee mask compositing.
color-mix() support also affects the radial light and is not included in the combined CSS figure.
Browser support and rendering limitsUse native elements and labels, as this example does. The pointer helper honors reduced motion and ignores touch by default. Forced colors use system colors and hide decorative borders; reduced transparency removes blur where the browser exposes that preference. Your app still needs readable foreground contrast and visible focus styles over its actual background.
Static surfaces and HTML glass text need only CSS. Pointer light is opt-in. The lab also opts into Slidebox's range decoration. React, Vue, Svelte, Angular, and Web Components are optional SVG adapters, not requirements for a card or native control.
Choose your styling route or frameworkStart with a few small surfaces: a toolbar, settings panel, or menu. Blur and gradients require rendering work; avoid stacks of full-screen blurred layers. Transforms, filters, and containment can affect shared fixed-background alignment. Keep a static-light fallback and measure in your own app. No compositor-only rendering or performance advantage is assumed.