Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经成功地在我的 html 表单中添加了褪色背景,但我希望它更加激烈(这意味着我希望它在页面上更快地从较浅的颜色变为较深的颜色)。有人可以提供一个如何做到这一点的例子吗?谢谢!
使用 jQuery 淡入淡出功能
http://api.jquery.com/fadeIn/
您可以设置褪色速度