console
<svg class="welcome" viewBox="0 0 200 30" preserveAspectRatio="xMidYMid meet">
<radialGradient id="rg-welcome">
<stop offset="0" stop-color="rgba(0, 200, 0, .7)"/>
<stop offset="50%" stop-color="rgba(200, 0, 0, .9)"/>
</radialGradient>
<clippath id="cp-welcome-text">
<text text-anchor="middle" x="50%" y="50%" dy="0.3em" class="text-welcome">
欢迎参加百度前端技术学院
</text>
</clippath>
<g clip-path="url(#cp-welcome-text)">
<rect class="main--bg" x="0" y="0" width="100%" height="100%"></rect>
<circle class="streamer--bg" cx="50%" cy="50%" r="100%" fill="url(#rg-welcome)"></circle>
</g>
</svg>
.welcome {
border: 1px solid red;
}
.main--bg {
fill: rgba(200, 0, 0, .9);
}
.streamer--bg {
transform: translateX(-50%);
animation: streamer 4s cubic-bezier(.05,.36,.94,.33) infinite;
}
@keyframes streamer {
100% {
transform: translateX(100%);
}
}