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.
目前,Alertify 会降低警报,以便它反弹并恢复一点。有没有办法让它滑下来?
谢谢
这里没有人有任何答案,所以我终于自己挖出来了。
Alertify 使用 CSS3 过渡来显示和隐藏其对话框。一旦分配了类,对话框就会弹到屏幕上:
elDialog.className = "alertify alertify-" + type + " " + css;
这些类在 alertify.core.css 中定义:
为了摆脱反弹,我只是替换了三次贝塞尔定义: