OO-based additional animation plug-ins can be used to share bounce, fade, and other animation effects. For more information, see, I have just mentioned some paragraphs recently. I 'd like to share with you all the plug-ins that I used to write. I hope this will be helpful to you, I also hope that some experts can help me with my writing shortcomings and errors. I
can copy and paste it directly. If you have any questions, contact me.The JS Code is displayed as follows. You can copy the following HTML to view the code.[Javascript]/*CreateByTommy_20110525Emial: @ csslife@163.comPurpose:Execute gradient and other animation EffectsDescription of input parameters:1. The first parameter is the object or ID to be transformed;2. The second parameter is an object that contains:1). sty-> attributes to be changed for the
object or ID;
2, the second parameter is an object contains:
1), Sty-> transform the object needs to change the property, the default is to change the width (also can pass non-style properties such as scrolltop, etc.)
2), Curclass-> transform object to complete the change need to add the current class, the default is empty
3), maxval-> change belongs to the maximum value, the default is 0 (if the Curclass for the wide High style property represents hidden), when the property value to be cha
is an object that contains:1). sty-> attributes to be changed for the object to be changed. The default value is to change the width (you can also specify attributes other than the style, such as scrollTop)2). curClass-> the current class to be added after the transformation object is changed. The default value is null.3), maxVal-> change to the maximum value. The default value is 0 (if the curClass is a style attribute with higher width, it indicates hiding). When the attribute value to be cha
be transformed;
2. The second parameter is an object that contains:
1). sty-> attributes to be changed for the object to be changed. The default value is to change the width (you can also specify attributes other than the style, such as scrollTop)
2). curClass-> the current class to be added after the transformation object is changed. The default value is null.
3), maxVal-> change to the maximum value. The default value is 0 (if the curClass is a style attribute with higher width, it indicates
, BeginAnimation is the animation we are going to make.Before implementing the animation, let's take a closer look at the animation, this animation looks very simple, but there are a few details to note:1. The height of the animation is getting smaller, I am here for the fir
A couple of days ago. Hyperbolic wave Animation (HTTP://WWW.JIANSHU.COM/P/7DB295FD38EB)And the Ring Countdown Animation (HTTP://WWW.JIANSHU.COM/P/D1D16DFF33C9)And feel the effect is good, like a lot of people, so today is going to engage in a "meter-type digital beat animation." So what is the instrument-type digital bounce
Imitate the "one car" to write a coordinate icon bounce animation, the implementation of the effect is as follows: (Record a little flash careful dog eye)Analyze this animation as follows:1.easeIn or linear is raised approx. 30 megapixels2. Be flexible and put downThen began the Swift animation journey of dog Blood.Not
what happens ~)
4. Insert in scene--new symbol--movie clip, named: MC1. Drag three-dimensional graphic elements from the library to the stage, in 15, 45, 50, 55, 60 insert the key frame, and at each key frame, move three-dimensional box to the appropriate location, and create a motion tween, make move three-dimensional box bounce animation. If you use the AS statement here, the
what happens ~)
4. Insert in scene--new symbol--movie clip, named: MC1. Drag three-dimensional graphic elements from the library to the stage, in 15, 45, 50, 55, 60 insert the key frame, and at each key frame, move three-dimensional box to the appropriate location, and create a motion tween, make move three-dimensional box bounce animation. If you use the AS statement here, the
WPF: Perfect custom MeaagseBox animation bounce background blur flat, wpfmeaagsebox
I don't know why. The MeaageBox style of WPF still stays in the Win 2000 style...
A long time ago, I wanted to encapsulate a MessageBox myself, but it was only a simple package and not very universal. This is the end.
The similarity between the method and the MessageBox method is more than 90%. In addition, in 10%, we adde
The example of this article describes the implementation of the interface bounce-tip animation effect of Android programming. Share to everyone for your reference, specific as follows:
Previous Effect chart:
First on the layout:
The Code is as follows:
Import Java.lang.reflect.Field;
Import android.app.Activity;
Import Android.os.Bundle;
Import Android.os.Handler;
Import Android.util.
CSS Animations-Audio bounce-------------------------------------------------------------------------------------------------------------------------------------------------This picture, big and small not the same columnar, just a picture? No!It's not a picture, and it can make him come alive, dance, and move. Like the audio beat like the Infinite beat ...Make your page animations run faster on mobile device
element.Definition and usageThe Box-shadow property adds one or more shadows to the box.Tip: Use the border-image-* property to construct beautiful, scalable buttons!
Default value:
None
Inheritance:
No
Version:
CSS3
JavaScript Syntax:
object. style.boxshadow= "10px 10px 5px #888888"
GrammarH-shadow V-shadow Blur spread color inset;Note: Box-shadow adds one or more shadows to the box. This property is a
solid transparent; border-top:4px solid #fff; border-radius: 999px; top:-4px; left:-4px; animation: rotate 1s infinite linear;}@keyframes rotate{ 0%{transform: rotate(0deg);} 100%{transform: rotate(360deg);}}Pre-loaded animation 4: beating circle
This is an animated Mexican ripple, which is achieved by setting the delay parameter between different circles.Effect:
Html code:
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.