Dark Mirror is polished obsidian: indigo-black with a diagonal sheen across the glass and a bright inner edge. It looks like the back of a very expensive phone.
Copy the CSS
.glass {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.12));
-webkit-backdrop-filter: blur(18px) saturate(140%);
backdrop-filter: blur(18px) saturate(140%);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 24px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
color: #FFFFFF;
}
.backdrop {
background: linear-gradient(135deg, #0F0C29, #302B63, #24243E);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.glass { background: rgba(40, 40, 60, 0.88); }
}Where Dark Mirror looks great
- Luxury and tech product pages. Sleek and confident.
- Media players and galleries. Content glows against the dark.
- Pricing cards. The sheen draws the eye.
- A discreet privacy blur in dark rooms.
Getting the glass right
Mirror mode layers a diagonal highlight over the blur and adds an inset top edge. Keep the base tint low so the sheen stays subtle.
Watch out for
Use it for one hero element. A page full of mirrors is a fun house. For the basics of the style, read what glassmorphism actually is.