Design System
Glass that feels alive.
Fine-tune every visual layer, then copy clean CSS for your next interface.
Get StartedFree CSS Design Tool
DesignLiveCreate a custom glassmorphism card, adjust the blur, transparency, border, shadow, and background, then copy clean CSS for your website.
Presets
Lock a section before randomizing to keep those values fixed.
Background type
Blob 1
Blob 2
Design System
Fine-tune every visual layer, then copy clean CSS for your next interface.
Get Started/* Background scene */
.glass-scene {
position: relative;
overflow: hidden;
min-height: 420px;
display: flex;
align-items: center;
justify-content: center;
padding: 48px 24px;
background: linear-gradient(135deg, #0b1630 0%, #3b1d6d 100%);
}
/* Soft background blobs */
.glass-blob {
position: absolute;
border-radius: 999px;
pointer-events: none;
filter: blur(0);
}
.glass-blob--one {
width: 280px;
height: 280px;
top: 10%;
right: 4%;
background: rgba(110, 168, 255, 0.48);
filter: blur(90px);
}
.glass-blob--two {
width: 220px;
height: 220px;
bottom: 8%;
left: 8%;
background: rgba(192, 132, 252, 0.4);
filter: blur(80px);
}
/* Glass card */
.glass-card {
position: relative;
z-index: 1;
width: min(100%, 360px);
min-height: 260px;
padding: 28px;
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.28);
background-color: rgba(255, 255, 255, 0.69); /* fallback without backdrop-filter */
background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 42%, transparent 68%), rgba(255, 255, 255, 0.14);
-webkit-backdrop-filter: blur(16px) saturate(145%);
backdrop-filter: blur(16px) saturate(145%);
box-shadow: 0 18px 50px rgba(0, 0, 0, 0.174), 0 4px 12px rgba(0, 0, 0, 0.074);
color: #f8fafc;
}
.glass-eyebrow {
margin: 0 0 10px;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(248,250,252,0.78);
}
.glass-title {
margin: 0 0 12px;
font-size: 1.75rem;
line-height: 1.2;
letter-spacing: -0.02em;
}
.glass-description {
margin: 0 0 20px;
font-size: 0.95rem;
line-height: 1.6;
color: rgba(248,250,252,0.78);
}
.glass-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0 16px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.28);
background: rgba(255,255,255,0.16);
color: #f8fafc;
font-weight: 700;
text-decoration: none;
}
@media (max-width: 640px) {
.glass-scene { padding: 32px 16px; min-height: 360px; }
.glass-title { font-size: 1.45rem; }
}
Saved styles stay in this browser.
Save a style to reload it later in this browser.
Overview
Glassmorphism is an interface style that layers translucent surfaces over a visual background. It commonly combines a semi-transparent background, backdrop blur, a subtle border, rounded corners, and soft shadows to create a frosted-glass appearance.
How to use
01
Choose a preset or start with the default style.
02
Adjust the background, glass transparency, blur, border, shadow, and corners.
03
Preview the card at different settings and check its readability.
04
Copy CSS, HTML, or a full standalone demo.
05
Replace the example content and integrate it into your website.
Tips
Compatibility
Glass effects typically rely on backdrop-filter. Modern browsers support it, but older browsers or some device configurations may not. The generated code includes a readable semi-transparent background fallback, so content should remain usable even without the blur effect.
Implementation
Copy the HTML and CSS, paste the CSS into your stylesheet, then insert the HTML into the page body.
Add CSS in Appearance → Customize → Additional CSS or your theme/site-builder custom CSS area, then add HTML in a Custom HTML block. Exact wording can vary by theme.
Place CSS in a CSS module, global stylesheet, or component styles. Convert class to className when using JSX.
FAQ
Related
Create tab-ready PNG favicons from a logo or initials in your browser.
Build a clean signature once, then paste it into Gmail, Outlook, or Apple Mail.
Design a chat button and export embed-ready code for your website.
Generate 20 brand-name directions from keywords, style, and industry.
Optisio
Optisio builds professional websites and SEO foundations for growing businesses.