Start a project

Tool 66 of 244 · CSS

Glassmorphism & Neumorphism

Make frosted glass cards and soft, raised neumorphic shapes, test them on busy backgrounds, and copy CSS that stays readable.

Glassmorphism & Neumorphism at a glanceIllustration: 1, Tint, blur, opacity; 2, processed in your browser; 3, Glass panel CSS.Glassmorphism & Neumorphism1Tint, blur, opacity</>3Glass panel CSS2In yourbrowser
1 Tint, blur, opacity 2 processed on your device 3 Glass panel CSS

Glassmorphism & Neumorphism

Glass

Hex, rgb(), hsl() or a colour name

Preview

Frosted cardText on glass needs extra care: check it on every background it will sit on.
    CSS

    01

    What it does

    Frosted glass cards with backdrop-filter and soft neumorphic shadows, with contrast warnings and fallbacks.

    • Tint, blur, saturation and border controls
    • Test backgrounds, including busy stripes
    • Text colour picked for contrast
    • Flat, concave, convex and pressed neumorphism

    02

    Private by design

    Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

    03

    What you get

    CSS, with a Copy and a Download button on every result.

    • backdrop-filter
    • box-shadow
    • CSS

    Why it matters

    Glassmorphism and neumorphism look great in a mock-up, but both are known for readability problems. Text on frosted glass changes contrast with whatever scrolls behind it, and neumorphic buttons often have edges too faint for people with low vision to see.

    This builder keeps those risks visible: it tests your glass on several backgrounds, warns when contrast drops, and adds a solid fallback for browsers without backdrop-filter. For neumorphism it reminds you to add a visible border or label to anything people need to click.

    How it works

    1. InputTint, opacity, blur and border
    2. In your browserbackdrop-filter panel rendered with a contrast check
    3. OutputCSS with a fallback for browsers without blur

    Where it fits in a designer's workflow

    1. Plan
    2. Design
    3. Build
    4. Test
    5. Launch
    Styling hero cards and overlays, then checking text stays readable.

    By the numbers

    White text contrast on a white glass panel over an example #5865f2 background0% white panel (#5865f2): 4.61:1 white text; 10% white panel (#6974f3): 3.88:1 white text; 20% white panel (#7984f5): 3.27:1 white text; 30% white panel (#8a93f6): 2.76:1 white text; 40% white panel (#9ba3f7): 2.35:1 white text; 60% white panel (#bcc1fa): 1.72:1 white text4.50% white panel (#5865f2)4.61:1 white text10% white panel (#6974f3)3.88:1 white text20% white panel (#7984f5)3.27:1 white text30% white panel (#8a93f6)2.76:1 white text40% white panel (#9ba3f7)2.35:1 white text60% white panel (#bcc1fa)1.72:1 white text
    Example, computed by alpha-blending the panel over the background and applying the WCAG formula. Every step of extra frosting lowers white-text contrast; by 10% it already fails AA, so switch to dark text (the table) or add a stronger tint. Source: WCAG 2.2 SC 1.4.3.
    Show the numbers as a table
    Panel opacityBlended colourWhite textDark text (#0b0d14)
    0%#5865f24.61:14.21:1
    10%#6974f33.88:15.0:1
    20%#7984f53.27:15.94:1
    30%#8a93f62.76:17.02:1
    40%#9ba3f72.35:18.27:1
    60%#bcc1fa1.72:111.26:1

    How to use it

    1. Choose Glassmorphism or Neumorphism.
    2. Adjust the tint, blur and border, or the distance and intensity of the shadows.
    3. Switch the test background to check the card on a busy image.
    4. Read any warnings, then copy or download the CSS.

    FAQ

    Does backdrop-filter work everywhere?

    In all current browsers. Safari needed the -webkit- prefix until version 18, so the CSS includes both, plus a more opaque background for anything older.

    Why does my glass card fail contrast?

    Because the background behind it shows through. Raise the opacity or blur, or use darker or lighter text, until it passes on the busiest background it will sit on.

    Is neumorphism accessible?

    Not on its own: the shadows are subtle by design. Use it for decoration and add a clear border, icon or text for buttons and inputs.

    Does blur slow pages down?

    Large blurred areas cost graphics power, especially on older phones. Keep glass to cards and bars rather than whole screens.

    Work with me

    Want a site that gets these right?

    I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

    All developer tools · Back to leej.uk