In this section we will first "animation transition (Transitions)" The use of this plug-in, source files:transition.js
The bootstrap framework defaults to the transition effect of the basic animation for each component, and if you want to use it, there are two ways:
? Call the unified compiled bootstrap.js;
? The JavaScript plug-in file that invokes a single transition animation transition.js(the 29th line on the right introduces the address of the bootstrap posted on the transition.js).
The Transition.js file provides an animated transition effect for bootstrap components with transition animation effects. However, it is important to note that these transition animations are implemented using CSS3 , so the ie6-8 Browser does not have these transition animation effects.
By default, the following components in the bootstrap framework use the Transition animation effect:
? Modal popup (Modal) sliding and gradient effect;
? The gradient Effect of the tab (tab);
? The gradient effect of the warning box (alert);
? The slide effect of the picture Carousel (Carousel).
Here is a "modal popup (Modal) sliding and gradient effect" source code example.
<! DOCTYPE html>
you can remove the 29th line of code and see if the "sliding gradient" of modal pop-ups still exists?
Bootstarp Learning (22) animation transitions (transitions)