.css3 {
margin: 40px;
font-size: 30px;
color: #000;
font-weight: bold;
animation: dubstep 1.2s infinite ease;
}
@keyframes dubstep{
0%, 100% {
text-shadow: 0 0 0 #000;
}
40% {
text-shadow: 10px 0 0 #f189d1;
}
43%, 45% {
text-shadow: 10px 0 0 #f189d1, 30px 0 0 #02def2, -20px 0 0 #22ff41;
color: #272727;
}
44% {
text-shadow: 10px 0 0 #f189d1, 30px 7px 0 #02def2, -20px -5px 0 #22ff41;
color: rgba(255,255,255,.2);
}
}
效果: