<svg viewBox="0 0 128 128" height="128" width="128" class="star"> <defs> <filter id="star-glow"> <feGaussianBlur stdDeviation="1.5" result="coloredBlur"></feGaussianBlur> <feMerge> <feMergeNode in="coloredBlur"></feMergeNode> <feMergeNode in="SourceGraphic"></feMergeNode> </feMerge> </filter> <linearGradient y2="1" x2="0" y1="0" x1="0" id="star-grad"> <stop stop-color="#000" offset="0%"></stop> <stop stop-color="#fff" offset="100%"></stop>
.star { margin: auto; width: 16em; height: 16em; } .star__stroke { --dur: 2s; animation: stroke1 var(--dur) linear infinite; } .star__stroke--2 { animation-name: stroke2; animation-delay: calc(var(--dur) / -2);