Kleur & Ontwerp
Glassmorphism Generator
Frosted-glass UI cards with backdrop-filter.
Redactionele opmerking
Understanding · Frosted glass, in three CSS properties.
Dit uitgebreide hoofdstuk is momenteel alleen in het Engels beschikbaar. De conversietool hierboven werkt in jouw taal; de lange uitleg is nog niet vertaald.
Veelgestelde vragen
Quick answers.
›Which CSS property creates the glass effect?
The primary property is `backdrop-filter: blur()`, which applies the blur to the area behind the element rather than the element itself. This is usually paired with a semi-transparent `background-color` using RGBA or HSLA values.
›Does this work in all browsers?
Most modern browsers support `backdrop-filter`. Firefox occasionally requires the `layout.css.backdrop-filter.enabled` flag to be set to true in older versions, so including a fallback background colour is recommended.
›Why does the blur not appear in my project?
Ensure the element has a transparent or semi-transparent background. If the background is fully opaque, the blur effect happening behind the element will be hidden from view.
›Can I use this for production UI components?
Yes. Glassmorphism is a common design pattern for cards, navigation bars, and modals. The generated CSS is standard-compliant and ready for use in any stylesheet.
Mensen zoeken ook naar
Gerelateerde tools
More in this room.
- GradiëntgeneratorLineaire, radiale en conische CSS-gradiënten.
- Box Shadow GeneratorVisuele CSS box-shadow editor.
- Border Radius GeneratorPer-hoek CSS border-radius editor.
- Cubic Bezier EditorOntwerp CSS easing-curves visueel.
- CSS Animatie GeneratorBouw keyframes visueel, kopieer kant-en-klare CSS.
- CSS Filter GeneratorLive preview van blur, helderheid, hue-rotate en meer.