我想淡入面板我在 Bootstrap 3 中制作的表单。我尝试了不同的方法,但我无法弄清楚。
这是 JSFiddle .
这是我的淡入淡出函数:
$( document ).ready(function() {
$( ".anim" ).fadeIn( "slow" );
});
最佳答案
也可以这样做
将 .anim {display:none} 添加到 css 然后显示在
$( document ).ready(function() {
$( ".anim" ).fadeIn( "slow" );
});
关于javascript - 使用 Bootstrap 的淡入面板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26918892/