简体   繁体   English

如何使用HTML5 / CSS3或JavaScript添加滑入效果和发光效果?

[英]How do I add a slide-in effect and a glowing effect using HTML5/CSS3 or JavaScript?

I think a description of what I am looking for will be best: 我认为最好的描述是:

Let's say I have a sentence: Hello World! 假设我有一句话:世界您好! This is KPO! 这是KPO!

I want each word to show up 2 seconds after the latter has been displayed. 我希望每个单词在显示后2秒出现。 And I want KPO to be either a blinking or a fade in and fade out effect. 我希望KPO成为闪烁或淡入淡出效果。

I am not sure where to start or what to use to accomplish this? 我不确定从哪里开始或用什么来完成此任务?

I was able to find a neon effect using CSS3 but it's not fading in and out so not sure. 我可以使用CSS3找到一个霓虹灯效果,但是它并没有淡入淡出,所以不确定。

Any help will be appreciated. 任何帮助将不胜感激。

If you can I would suggest using jQuery. 如果可以的话,我建议使用jQuery。 There are a million plugins already made to do just this kind of text animation. 已经有上百万个插件可以做这种文本动画。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM