>> I want to be a spy series CSS 3_animation_ slide right out and then slide and stop

Source: Internet
Author: User

Beginners have not formally sent something, are in the decoration blog This home, until now still no decoration good. Familiar with this side of the release specifications will continue to record here, to leave their learning footprints ~

This formal first essay writes an animated effect using CSS3.

Always feel the movie agent kind of cool application interface is very comfortable, began to try to use CSS3 to do one, so this is a series of articles, the name is called ' I want to be an agent '. Not much in the past CSS3, starting from here, after all, expect others to provide approximate project-based needs to return time to learn the opportunity is not very realistic, self-clothed well ~

First look at the effect:

<! DOCTYPE html>{width:10px;Height:2px;background:Red;}Div:hover{/*bind a selector here, bind the csssplit to the Div:hover*/    /*animation:csssplit 5s Infinite;*/    /*animation-direction:alternate;*//*Play back again after playing*/Animation:Csssplit 5s Alternate;Animation-fill-mode:forwards;/*stop at the last frame after playing*/}@keyframes Csssplit/*firefox-moz-did not add, Csshack himself do*/{0% {background:Red;width:10px;Height:2px;}10%{background:Yellow;width:500px;Height:2px;}30%{background:Yellow;width:500px;Height:200px;}100%{background:Yellow;width:500px;Height:200px;}}</style>

Ps: Layout and coloring should also be re-regulation it. Send a try, dislocation of feeling very strong AH.

-----

Ps: Sure enough coloring or a success ah, do not redraw themselves. Inserting a code changed three times the format is also no one ...

>> I want to be a spy series CSS 3_animation_ slide right out and then slide and stop

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.