The current situation is that if you need some animation on the page, either you write JavaScript yourself or use JavaScript frameworks such as jQuery to improve efficiency.
However, while CSS3 cannot replace jQuery or similar frameworks in the short term, it is perfectly capable of doing things like smooth transitions (such as when hovering over a mouse) and moving elements on the screen. This is good news for us, and it means that in a growing numbe
CSS 3 animation and transition, CSS 3 animation transition
Transform: specifies the type, preserve-3d, or preserve-2d of the conversion before using a 2D or 3D conversion.
Attribute
Translate ():
Using the translate () method, an element moves from its current position based on the given left (x coordinate) and top (y coordinate) position parameters.
Rotate ():
By using the rotate () method, the element rot
IOS 7 UI Transition Guide-definition scope (iOS 7 UI Transition Guide-Scoping the Project)
IOS 7 UI Transition Guide
Preparing for Transition
Before You Start
Scoping the Project
Supporting iOS 6
Updating the UI
Appearance and Behavior
Bars and Bar Buttons
Content Vi
In this example, three graphs (from the network) are stacked and the mouse hovers over the trigger. Attached source code"Utf-8"> class="Parent"> "https://timgsa.baidu.com/timg?imagequality=80size=b10000_10000sec=1468408683931di= 0ef6a07b6b38ec2a7c0be9794922605aimgtype=jpgsrc=http%3a%2f%2fimg2.3lian.com%2f2014%2fc7%2f27%2fd%2f23.jpg"> "https://timgsa.baidu.com/timg?imagequality=80size=b10000_10000sec=1468408683929di= c96c378ca0d60d7147fedbc2366da230imgtype=jpgsrc=http%3a%2f%2fa2.att.hudong.com%2f
IOS transition animation and iOS transition Animation
Animation in iOS: http://my.oschina.net/aofe/blog/270412
The CATransition class is applied to the app to implement the addSubview animation.
-(Void) transitionView_from :( UIView *) one to: (UIView *) two {CATransition * anim = [CATransition animation];Anim. delegate = self;Anim. duration = 0.4f; // animation durationAnim. type = kCATrans
Transition objects on Java and transition objects on Java
Transformation object: The subclass creates an object and assigns this object reference to the object of the parent class.
Syntax format: Father f = new Son ();
Note:
The transformation object is created by the subclass, but the transformation object will lose some attributes and methods of the subclass.
The method called by the transformation o
Common Software Installation for transition from windows to ubuntu and common software for transition from ubuntu
I haven't written a blog for a long time. Recently I went to the operating system lab class. Many people installed ubuntu, And the tutorials on the Internet were messy. Now I will summarize and share some common software to be installed after ubuntu, will be updated continuously...
1. Install so
postponed. Its value is the number of seconds ending with s.
Animation
In CSS3, the real animation attribute is animation, and the previous transform and transition are only deformation of the DOM element or transition of the State. In fact, the animation effect supported by CSS3 is only a filling animation, that is
With the Vue.js transition system, you can easily add a transition animation effect to the process of inserting/removing a DOM node. Vue will add/Remove CSS class names at the right time to trigger CSS3 transitions/animations, and you can also provide the corresponding JavaScript hook function to perform custom DOM operations during the
sets the pivot in the element, but it is also different from the parent element setting. Because the parent element is the whole as a perspective, and the element itself as a perspective, it causes the difference.Specific test to see perspective distance img {Transform:perspective (1000px) Rotatey (45deg);}Introduction to TransitionsTransitions typically trigger smooth transitions through a few simple CSS actions, such as: hover,: Focus,: Active,: checked and so on.
mouse, getting focus, being clicked, or any change to the element, and animating the CSS property values in a sleek and animated manner. "Since CSS3 's transition is so powerful, let's take a 1.1-point grasp of it." The transition transition in CSS3 has four central prope
includes:Transform-origin:a b; The hanging point of the element is (a, B)The hanging point of an element is the center point at which it rotates and tilts. A, B in the value can be a length value, a percentage ending in%, or a left, top, right, bottom four value.Transition Transition-propertySpecifies the CSS property whose value is the CSS property name that the transition effect works on.
to directly applying a [a B c d e f] transformation matrix. It is to reposition the element based on the horizontal (X axis) and vertical (Y axis). This attribute value uses the matrix involved in mathematics, here I just want to explain that the transform in CSS3 has such an attribute value;
Origin (Central Point) transform-origin (): changes the origin position of an element so that the element origin is not in the center of the element to reach th
); /* Firefox */}
CSS3 3d Conversion
RotateX ()
Rotate along the X axis
RotateY ()
Rotate along Y axis
CSS3 transition
With CSS3, we can add effects (smooth transition) to elements when elements are transformed from one style to another without Flash animation or JavaSc
New variants have been added to the CSS3 standard, which makes it easier to transform the position shape of elements in a Web page. Its syntax is as follows:Transform:none | For the attribute value of css specifies 4 types of common transformations1.translate ()This value specifies the object's 2D translation(2D translation). The first parameter corresponds to the X-axis, and the second parameter corresponds to the Y -axis. If the second parameter
: The hover pseudo-class selector can be used for all selectors (only the properties of the selector are executed on hover)New transition module in CSS3: Transition Property (attribute) duration (time spent by transition effect) timing-function (time curve of transition eff
) transform; (2) The Transform-origin:transform-origin property sets the starting point for the transformation. By default, the center of the element is used as the starting point.
2. Animation animation effect
CSS3 provides an animated effect similar to Flash Keyframe control, implemented through the animation property. The previous transition attribute can only be animated by specifying the initial state
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.