Glassmorphism and neumorphism, two effects, the same blur-and-shadow mechanism
Both styles manipulate blur and shadow to fake depth, but glassmorphism fakes transparency over a vivid background while neumorphism fakes relief over a solid background of the same color.
Glassmorphism combines three ingredients: a semi-transparent background (`background` with low alpha), `backdrop-filter: blur()` to blur whatever sits behind the element, and a subtle light border to mimic the edge of real glass, the effect only reads visually when there is something vivid or colorful behind it to blur, over a flat background the transparency barely shows. Neumorphism uses the opposite technique: no transparency at all, the element shares the exact solid color of its background, and the relief comes entirely from two opposing shadows, a light one simulating light hitting from one side and a dark one simulating the cast shadow on the opposite side. Flipping those shadow positions with `inset` turns the same element from "raised" into "sunken" (pressed), useful for simulating a button's `:active` state. Shadow colors shouldn't be a generic gray, deriving them from the base color itself (lightening and darkening its HSL lightness) keeps the result consistent with the rest of the palette.
How to use
Pick the mode, adjust the parameters and copy the CSS.
Switch between Glassmorphism and Neumorphism at the top, both modes keep independent settings.
Pick a preset as a starting point or adjust manually: blur, transparency, color and border for glass, or base color, distance and shadow intensity for neumorphism (with raised/pressed).
Copy the ready CSS, including the -webkit- prefix Safari needs for glassmorphism, or switch to Tailwind.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
The effect is only visible when there's something behind the element to blur, an image, gradient or vivid color. Over a flat, uniform background, blur has nothing to work with and the result reads as just a semi-transparent solid color. Use this tool's preview with one of the vivid backgrounds to see the real effect.
backdrop-filter has good support in modern browsers, but always include the -webkit- prefix for Safari and handle missing support with a solid fallback background.