Bootstarp Learning (22) animation transitions (transitions)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.