Glass settings
Backdrops are pure CSS gradients — no images are loaded, so the effect can be seen without a network request.
Drop shadow
Live preview
Frosted glass card
The blur samples the gradient behind this card, so text stays readable while the backdrop shows through.
backdrop-filter: blur(12px) saturate(160%);
Every value is applied inline on the card, including the -webkit-backdrop-filter prefix.
Generated CSS
/* Glassmorphism — generated by InstantTools.site */
.glass-card {
background: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(12px) saturate(160%);
-webkit-backdrop-filter: blur(12px) saturate(160%);
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: 16px;
box-shadow: 0px 8px 24px rgba(15, 23, 42, 0.18);
}
/* Fallback for browsers without backdrop-filter: raise the background alpha
(for example to 0.85) so the card stays readable. */
464 characters
How the glass effect actually works
backdrop-filtersamples everything painted behind the element, so the card must be semi-transparent and sit over visible content — over a flat white area you will see no blur at all.saturate(160%)boosts the colours behind the glass, which is what stops it looking washed out.- Support: current Chrome, Edge, Firefox and Safari all support it; Safari historically needed the
-webkit-prefix, which this tool always emits. Always keep a readable fallback background for older browsers. backdrop-filtercreates a containing block, so a filtered card cannot contain elements usingposition: fixed.