Similar to Netease's 'trash' animation effect and Netease's trashboard Animation

Source: Internet
Author: User

Similar to Netease's 'trash' animation effect and Netease's trashboard Animation

When it comes to animation, we will talk about CSS3 animation. Indeed, this article has brought about a simple imitation of Netease's garbage bin animation effect. The knowledge points involved are transform and transition.

The transform attribute applies 2D or 3D conversions to elements. This attribute allows us to rotate, scale, move, or tilt elements.

transform: none|transform-functions;

The transition attribute is short for setting four transition attributes.

transition: property duration timing-function delay;

First, describe the expected effect: move the cursor to the control entry to display the recycle bin. When the cursor moves to the recycle bin, the garbage bin cap is automatically opened.


The effect is very simple, but it is very considerate to use. Is it a pleasure? Haha!

Principle: during hover, use the transform attribute to rotate for 25 degrees clockwise, and use transition to apply the transform attribute to implement animation!

Complete code:

<! DOCTYPE html> 

Click to download dustbin2.png Images



I used ps to perform an animated effect on the image. Now I want to recreate the animation. How can I delete the current animation effect?

Click the small window that is not needed in the animation. Click the recycle bin.
 
Now Netease mailbox's garbage collection can go somewhere

There is another folder under the inbox and draft box, where

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.