Inspired by frosted glass, this style creates depth through transparency and blur effects. Perfect for layered interfaces where content hierarchy is important.
Live demo
Total Balance
24h Change
+$12,847.32
Percentage
+1.54%
Bitcoin
BTC
$423,291
+2.4%
Ethereum
ETH
$287,103
+1.8%
Solana
SOL
$136,899
+5.2%
Received
2 min ago
+0.5 ETH
Swapped
1 hour ago
BTC → USDC
Staked
3 hours ago
100 SOL
Sent
Yesterday
-0.1 BTC
Inspired by frosted glass, this style creates depth through transparency and blur effects. Perfect for layered interfaces where content hierarchy is important.
2020s Modern
Effects: Backdrop blur (10-20px), subtle 1px rgba(255,255,255,0.2) border, soft heavily blurred colour blobs behind the glass
:root {
--glass-fill: rgba(255,255,255,0.15);
--glass-blue: #0080FF;
--glass-violet: #8B00FF;
--glass-pink: #FF1493;
--glass-teal: #20B2AA;
--glass-border: rgba(255, 255, 255, 0.2);
}
/* Glass needs something colourful behind it to blur. Keep the gradient bright;
never lay a dark tint over the glass or darken the background. */
body {
min-height: 100vh;
background: linear-gradient(135deg, var(--glass-blue) 0%, var(--glass-violet) 50%, var(--glass-pink) 100%);
color: #FFFFFF;
font-family: system-ui, sans-serif;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
/* Soft light blooms behind the panels: large, heavily blurred, fixed */
.blob {
position: fixed;
z-index: -1;
width: 28rem;
aspect-ratio: 1;
border-radius: 50%;
background: var(--glass-teal);
filter: blur(80px);
opacity: 0.6;
pointer-events: none;
}
.card {
padding: 2rem;
border: 1px solid var(--glass-border);
border-radius: 1.5rem;
background: var(--glass-fill);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.card p {
color: #FFFFFF;
}
.button {
padding: 0.75rem 1.5rem;
border: 1px solid var(--glass-border);
border-radius: 0.75rem;
background: rgba(255, 255, 255, 0.1);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
color: #FFFFFF;
font-weight: 600;
transition: transform 150ms ease, background-color 150ms ease;
}
.button:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
.button:focus-visible {
outline: 2px solid #FFFFFF;
outline-offset: 3px;
}
.badge--positive {
color: #86EFAC;
font-weight: 600;
}
@media (prefers-reduced-transparency: reduce) {
.card,
.button {
background: rgba(30, 20, 60, 0.85);
}
}
@media (prefers-reduced-motion: reduce) {
.button {
transition: none;
}
.button:hover {
transform: none;
}
}Paste this into Claude Code, Cursor, v0, Lovable or any coding agent to restyle a page in Glassmorphism.
Apply the Glassmorphism style to this interface.
What it is: Inspired by frosted glass, this style creates depth through transparency and blur effects. Perfect for layered interfaces where content hierarchy is important.
Look and feel: Frosted glass, Transparent, Blurred background, Layered, Vibrant.
Colors: primary rgba(255,255,255,0.15), #0080FF, #8B00FF; secondary #FF1493, #20B2AA.
Effects and motion: Backdrop blur (10-20px), subtle 1px rgba(255,255,255,0.2) border, soft heavily blurred colour blobs behind the glass.
Reference CSS (put these class names on the matching elements, or map them onto existing components and class names; avoid long structural selectors):
```css
:root {
--glass-fill: rgba(255,255,255,0.15);
--glass-blue: #0080FF;
--glass-violet: #8B00FF;
--glass-pink: #FF1493;
--glass-teal: #20B2AA;
--glass-border: rgba(255, 255, 255, 0.2);
}
/* Glass needs something colourful behind it to blur. Keep the gradient bright;
never lay a dark tint over the glass or darken the background. */
body {
min-height: 100vh;
background: linear-gradient(135deg, var(--glass-blue) 0%, var(--glass-violet) 50%, var(--glass-pink) 100%);
color: #FFFFFF;
font-family: system-ui, sans-serif;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
/* Soft light blooms behind the panels: large, heavily blurred, fixed */
.blob {
position: fixed;
z-index: -1;
width: 28rem;
aspect-ratio: 1;
border-radius: 50%;
background: var(--glass-teal);
filter: blur(80px);
opacity: 0.6;
pointer-events: none;
}
.card {
padding: 2rem;
border: 1px solid var(--glass-border);
border-radius: 1.5rem;
background: var(--glass-fill);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.card p {
color: #FFFFFF;
}
.button {
padding: 0.75rem 1.5rem;
border: 1px solid var(--glass-border);
border-radius: 0.75rem;
background: rgba(255, 255, 255, 0.1);
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
color: #FFFFFF;
font-weight: 600;
transition: transform 150ms ease, background-color 150ms ease;
}
.button:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
.button:focus-visible {
outline: 2px solid #FFFFFF;
outline-offset: 3px;
}
.badge--positive {
color: #86EFAC;
font-weight: 600;
}
@media (prefers-reduced-transparency: reduce) {
.card,
.button {
background: rgba(30, 20, 60, 0.85);
}
}
@media (prefers-reduced-motion: reduce) {
.button {
transition: none;
}
.button:hover {
transform: none;
}
}
```
Works best for: Modern SaaS, Financial dashboards, High-end corporate, Modal overlays.
Avoid it for: Low-contrast backgrounds, Critical accessibility, Performance-limited. If this product falls into one of those, say so before restyling.
Change the visual design only: keep the existing layout, content and behaviour.
Keep visible focus states, give icon-only controls an accessible name (aria-label) and respect prefers-reduced-motion.Rolling AI coding agents out across a team? Farad Labs runs hands-on AI training.
Rooted in the Swiss International Style of the 1950s, this approach emphasizes clarity, readability, and objectivity. Uses grid-based layouts, sans-serif typography, and generous white space to create functional, timeless designs.
Modern SaaS
A modern evolution of skeuomorphism that creates soft, extruded plastic-like interfaces. Uses subtle shadows and highlights to simulate depth while maintaining a minimal aesthetic.
Modern SaaS
High-energy design with bold color blocks, geometric shapes, and vibrant palettes. Creates excitement and draws attention through visual contrast.
Modern SaaS
Optimized for OLED displays and low-light environments. Uses true blacks to save battery and reduce eye strain while maintaining vibrant accent colors.
Modern SaaS