Search code examples
twitter-bootstraptwitter-bootstrap-rails

How can I make Twitter Bootstrap modal animation faster?


I really like the Twitter Bootstrap modal, but showing it with the animation is a bit slow. I'd say around 500ms.

Is there a way to make it faster? I looked in bootstrap-modal.js but couldn't find anything compelling that could help.

And, I don't want to deactivate the animation completely because I've found out that it's a good trick to make response times seem faster in the eyes of the user ;o)


Solution

  • You can manipulate the .fade class as explained here:
    How can I change the speed of the fade for alert messages in Twitter Bootstrap?