Cover Glow
<p>Adds a soft, pulsing white glow around the large cover art in the header of album and playlist pages. Hovering over the cover makes the glow grow and intensify smoothly, without restarting the animation. Soft, slow pulse that gives the cover a “breathing” glow. Muted white glow that blends with any theme or accent color. Smooth hover effect: the cover scales up slightly and the glow gets stronger. Only affects the header cover, so song thumbnails and the rest of the interface stay untouched.</p>
Source Code (CSS)
@property --boost {
syntax: "<number>";
inherits: true;
initial-value: 0;
}
.album-header .album-artwork {
overflow: visible !important;
isolation: isolate;
transition: transform 0.6s ease, --boost 0.8s ease;
}
.album-header .album-artwork:hover {
transform: scale(1.04);
--boost: 1;
}
.album-header .album-artwork::before {
content: "";
position: absolute;
inset: calc(-18px - var(--boost) * 10px);
z-index: -1;
background-image: inherit;
background-size: cover;
background-position: center;
border-radius: inherit;
filter:
blur(calc(26px + var(--boost) * 6px))
saturate(calc(2 + var(--boost) * 0.3))
brightness(calc(1.2 + var(--boost) * 0.1));
pointer-events: none;
animation: coverGlowPulse 4.5s ease-in-out infinite;
}
@keyframes coverGlowPulse {
0%, 100% {
opacity: min(1, calc(0.6 + var(--boost) * 0.25));
transform: scale(calc(1 + var(--boost) * 0.08));
}
50% {
opacity: min(1, calc(0.85 + var(--boost) * 0.15));
transform: scale(calc(1.1 + var(--boost) * 0.1));
}
}
.album-header .album-artwork:not([style*="background-image"]) {
animation: fallbackGlowPulse 4.5s ease-in-out infinite;
}
@keyframes fallbackGlowPulse {
0%, 100% {
box-shadow:
0 0 calc(24px + var(--boost) * 26px) rgba(235, 235, 240, calc(0.4 + var(--boost) * 0.3)),
0 0 calc(55px + var(--boost) * 55px) rgba(235, 235, 240, calc(0.22 + var(--boost) * 0.25));
}
50% {
box-shadow:
0 0 calc(34px + var(--boost) * 26px) rgba(235, 235, 240, calc(0.55 + var(--boost) * 0.3)),
0 0 calc(75px + var(--boost) * 55px) rgba(235, 235, 240, calc(0.32 + var(--boost) * 0.3));
}
}