小小的尝试~
代码:
.neon{ font-family: Brush Script Std; font-size: 60px; animation:neon 0.11s infinite ease-in-out alternate; animation-delay: 0s; color: white; } @keyframes neon{ from{ text-shadow: 0 0 3px #66ccff , 0 0 5px #66ccff, 0 0 7px #66ccff; } to{ text-shadow: 0 0 3px #66ccff , 0 0 6px #66ccff, 0 0 8px #66ccff; } }
实现效果:
This is a paragraph.