CSS3 New Properties
Transform (variant) translate (PAN) (x,y) scale (zoom) (x,y) rotate (rotate) (x,y) skew (distort) (x,y)
Transform-origin (position of the center point of the deformation): x y;
Transtion (excessive): CSS attribute time transition style delay time property duration timing-function delay
The translation uses a pixel scale with a multiple
Translate scale
Transform: The first argument is relative to the X axis and the second argument is relative to the Y axis
Transtion:all 800ms Ease 5s
Transform:rotate (360DEG)
Most combinations: hover use
Animation (animation)
Transition need to start an event (mouse click, mouse, get focus, click, etc.) to achieve
Animation
8 Property name Duration delay timing-function delay Iteration-count direction Fill-mode
First in CSS style sheet plus this imgscale is your name.
@keyframes imgscale{
0%{transform:scale (1);}
50%{transform:scale (1.5);}
100%{transform:scale (2.5);}
}
And where you want to change.
Animation:imgscale 0.5s ease infinite alternate;
Alternate from large to small animation-play-state infinite infinite cycle Fill-mode animation fill rules (generally no effect)
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.