Twitter Bootstrap模式:如何删除向下滑动效果 [英] Twitter Bootstrap modal: How to remove Slide down effect

查看:139
本文介绍了Twitter Bootstrap模式:如何删除向下滑动效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将Twitter Bootstrap Modal窗口动画从滑动效果更改为fadeIn或仅显示没有幻灯片?我在这里阅读了文档:

Is there a way to change the Twitter Bootstrap Modal window animation from a slide down effect to a fadeIn or just display without the Slide? I read through the documentation here:

http:// getbootstrap.com/javascript/#modals

但是他们没有提到任何改变模态体滑动效果的选项。

But they don't mention any options for changing the modal body slide effects.

推荐答案

从模态div中取出淡化类。

Just take out the fade class from the modal div.

具体来说,更改:

<div class="modal fade hide">

to:

<div class="modal hide">






更新:对于bootstrap3,不需要隐藏类。


UPDATE: For bootstrap3, the hide class is not needed.

这篇关于Twitter Bootstrap模式:如何删除向下滑动效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆