Visual CSS3 animation generation artifact Stylie

Source: Internet
Author: User

Today @ not to the cloth classmate sharing a particularly convenient artifact, easy to understand the operation process, basically can solve all the existing CSS animation needs, have a specific tutorial yo, hurriedly to fill up this lesson.

@ Not to cloth: since CSS3 introduced animation (transition and @keyframes, and with the transform), the enthusiasm of the various centaurs is extremely high, compared to JS animation, it is easier to write (in the absence of jquery library), At the same time, in most cases, performance also has a strong advantage. Transition and transform relatively simple, in addition to matrix transformation (most people also use not to) outside, other are easy to learn to understand, and the use of @keyframes animation, is simply a designer and engineers of the big kill, about this thing has killed, can refer to the previous Tencent's great God to engage in a CSS3 animation frame number of the scientific calculation (http://tid.tenpay.com) Such a thing, containing a calculator (http://tid.tenpay.com), inside the tangled complex, I believe that the general part-time half the front end of the big design or the beginning of the small front is difficult to understand ...

And the main problem is, the thing is for the step animation prepared, make a wizard, and then every time to jump one ... In fact, this is not a real CSS animation, not to mention the animation properties of the steps () function can better solve the problem. And all along, there is no good CSS animation generation tool (don't mention muse to me, it needs to read "The tools of Self-cultivation" ...) So what I want to recommend today is this Stylie (Http://jeremyckahn), a visual tool that automatically generates CSS3 animations.

Introduction to Stylie Operations

After the page is opened it is very simple, the blue grid background, two green Cross in the middle of a yellow line, there is a white ball constantly sliding from the left to the right (also not known as scrolling), the following has a progress bar, the right side has an operator panel.

Pictures from tuts+

KeyFrames tab Panel

The first 0ms indicates the information of the starting point, and the second 2000ms indicates the information about the breakpoint at the 2000ms.

2000MS You can click the time to modify it, click the plus sign in the upper-right corner to add a new breakpoint

X and y represent the horizontal and vertical coordinates (in fact, you can also use the mouse to drag the green cross ...);

s represents magnification (default is 1);

RX, RY, RZ, respectively, indicate the rotation of the object along the X, Y, z axes (which axis is which one can fill in the number on the above to try, for the sake of observation for the reason recommended to fill in 180. Of course you can also hold down the shift button, drag, but I think this is very difficult to control ...);

Linear represents a linear ... This column is a custom easing curve (easing curves)

Ease of movement curve

This tool is more abuse the point of the brush is its ease curve function, all the values, all! but! defines easing. Let me say a little bit about its ease:

In and out respectively to represent the entry and end, ease as the name implies that there is a similar "buffer" action, as the acceleration of the car is slowly added up, people running is also slowly stop (the brakes are also very difficult to slow down from high-speed directly to static, there is always a deceleration process).

Quad–x^2 (two-time square curve)

Cubic–x^3 (three-time square curve)

Quart–x^4 (four-time square curve)

Quint–x^5 (five-time square curve)

Sine–sin (x^ (PI/2)) (looks a bit like two square curve, in fact, this function is very wonderful, interested in children's shoes can be seen here (Http://t.cn/RhdkXQC) look at [0,3] image ...)

expo–2^ (x-1) (I gave up the name, in short, a very very slow start, very very fast in the late).

circ– is the name of the arc (1/4 yuan, if the choice of InOut is two out of 1/4 circle)

bounce– formula is too long to write, is a rebound curve (spring effect, small ball landing)

V10. Back-Bounce Curve

elastic– Rubber Band Curve (with a very short and huge shaking, and then slowly end)

swing– with the back series.

The back is nothing, the last one for customeasing, this curve can be edited in the Motion tab, often with AI children's shoes may be easier to edit, but do not understand the relationship between the curve and the speed of movement, you can not understand what you are editing ...

It says so many curves ... It actually represents a change in rate (you can place the starting point and end point on the same straight line, not horizontally or vertically, and then change the easing Curves of X and Y, which in essence is no different from the parabola that we drew in our first high school physics class ...). For those of you who want to preview simple and small action, you can put the starting point and end point in a relatively close position, and then change the easing curves observation.

Export Code

After the results are satisfactory, you can click on the CSS and HTML tags to copy the code separately.

CSS tags can be customized for this animation name, and choose Browser compatibility (the default for the consortium, if your home to consider compatibility is actually better not to do (to me is that who, you understand) ... Compatible with mobile phone can be considered on the hook WebKit). Orient generated CSS to means that all the displacement data takes the relative (first frame) displacement or absolute positioning (relative to the upper left corner). The bottom slider, the leftmost is the least code, the right is the highest quality, the smallest code may cause unexpected problems in some cases, but usually nothing happens ...

HTML tags are nothing, you can modify the HTML code to see your custom content effect (the default is only one picture, that is, the white circle ...)

Finally, on the Right Wrench tab, you can choose to save or read your animation.

This is almost the case, this artifact can basically solve all the existing CSS animation needs, how to do it depends on the strength of each individual luck.

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.