Library
Things I like and keep coming back to.
Type 10
Weighted 6
Retro desktops 9
Web 2.0 and early iPhone 4
Flat and Material 3
Modern 5
Soft and glass 4
Mine 1
Liquid glass
Apple, 2025
Clear glass with bright edges that bend the light.
- A fully rounded pill that is almost clear.
- Bright inner edges on the top left and bottom right catch the light.
- A soft glow inside the top and a deep shadow below.
.liquid-glass {
position: relative;
isolation: isolate;
padding: 11px 24px 11px 20px;
border-radius: 999px;
color: #fff;
box-shadow:
inset 1px 1.5px 0 -0.5px rgba(255, 255, 255, 0.7),
inset -1px -1px 0 -0.5px rgba(255, 255, 255, 0.25),
inset 0 0 0 0.5px rgba(255, 255, 255, 0.16),
inset 0 12px 16px -12px rgba(255, 255, 255, 0.4),
0 1px 1px rgba(0, 0, 0, 0.3),
0 12px 32px rgba(0, 0, 0, 0.4);
}
.liquid-glass::before,
.liquid-glass::after {
content: "";
position: absolute;
inset: 0;
z-index: -1;
border-radius: inherit;
pointer-events: none;
}
.liquid-glass::before {
backdrop-filter: blur(0.5px) brightness(1.06) saturate(110%);
}
.liquid-glass::after {
backdrop-filter: blur(1.5px) brightness(1.45) saturate(108%) hue-rotate(-8deg);
mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, transparent 66%, rgba(0, 0, 0, 0.7) 90%, #000 100%);
}41 of 42