A phone screen whose edges light up with a multicolor glow that circles the frame and bleeds softly inward while the assistant listens. A rotating conic gradient, masked to a ring and blurred.
Also known as: siri animation css, siri edge glow, apple intelligence glow css, ai screen border glow.
Set a timer for 12 minutes
<div class="aia-siri-edge-glow" role="status" aria-label="Assistant is listening"> <span class="aia-siri-edge-glow-haze" aria-hidden="true"></span> <span class="aia-siri-edge-glow-ring" aria-hidden="true"></span> <span class="aia-siri-edge-glow-time">9:41</span> <span class="aia-siri-edge-glow-date">Tuesday 28</span> <p class="aia-siri-edge-glow-ask">Set a timer for 12 minutes</p> </div>
@property --aia-siri-edge-glow-a {
syntax: "<angle>";
inherits: true;
initial-value: 0deg;
}
.aia-siri-edge-glow {
--c: var(--aia-color, #7c5cff);
font-size: var(--aia-size, 16px);
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
line-height: 1.4;
--spin: conic-gradient(from var(--aia-siri-edge-glow-a), var(--c), color-mix(in oklab, var(--c) 35%, #ff6fb5), color-mix(in oklab, var(--c) 20%, #ffb35c), color-mix(in oklab, var(--c) 30%, #3ddcff), var(--c));
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: 8.4em;
height: 13.4em;
padding: 1.9em 0.9em 1.4em;
box-sizing: border-box;
border-radius: 1.9em;
overflow: hidden;
background: radial-gradient(120% 70% at 50% 0%, #1b1b24, #07070a 70%);
color: #fff;
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1em 2em -1em rgba(0, 0, 0, 0.55);
animation: aia-siri-edge-glow-spin 4s linear infinite;
}
.aia-siri-edge-glow-ring,
.aia-siri-edge-glow-haze::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
padding: 0.2em;
background: var(--spin);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.aia-siri-edge-glow-haze {
position: absolute;
inset: 0;
border-radius: inherit;
filter: blur(0.7em);
animation: aia-siri-edge-glow-breathe 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.aia-siri-edge-glow-haze::before { padding: 0.8em; }
.aia-siri-edge-glow-time {
font-size: 2.5em;
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1;
}
.aia-siri-edge-glow-date {
margin-top: 0.45em;
font-size: 0.68em;
opacity: 0.6;
}
.aia-siri-edge-glow-ask {
position: relative;
margin: auto 0 0;
font-size: 0.85em;
font-weight: 500;
line-height: 1.3;
text-align: center;
color: rgba(255, 255, 255, 0.9);
}
@keyframes aia-siri-edge-glow-spin {
to { --aia-siri-edge-glow-a: 360deg; }
}
@keyframes aia-siri-edge-glow-breathe {
from { opacity: 0.55; }
to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
.aia-siri-edge-glow,
.aia-siri-edge-glow-haze { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
.aia-siri-edge-glow, .aia-siri-edge-glow *, .aia-siri-edge-glow::before, .aia-siri-edge-glow::after, .aia-siri-edge-glow *::before, .aia-siri-edge-glow *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}--aia-color on the element or a parent.
Currently previewing #3b82f6.--aia-size. Every other dimension is in
em, so the whole thing scales together. Currently previewing 16px.transition or animation
shorthand. Staggered delays are relative, so they keep their rhythm.