"Fir.im Sponsorship" jquery Programming Challenge #012: Create menu Add and remove animations effects

Source: Internet
Author: User

Apply for a person, remove the sponsor link

Define the following HTML code:

  1. < do not add <body> tags in!--html snippet//-->
  2. <ul id="container">
  3. <li>Java<i class="fa fa-times pull-right"></i></li >
  4. <li>Javascript<i class="fa fa-times pull-right"></i></li>
  5. <li>HTML<i class="fa fa-times pull-right"></i></li >
  6. <li>CSS<i class="fa fa-times pull-right"></i></li >
  7. <li>PHP<i class="fa fa-times pull-right"></i></li>
  8. </ul>
  9. <!--recommend an open source CDN to select the external JS//--> to be referenced
  10. <script Type="text/javascript" src="http://cdn.gbtags.com/jquery/ 1.11.1/jquery.min.js "></script>

The corresponding CSS is as follows:

  1. /*CSS Source Code */
  2. @import URL('//cdn.gbtags.com/font-awesome/4.1.0/css/font-awesome.min.css ');
  3. Body{
  4. Background:#666;
  5. Color: #fff;
  6. Font-family: ' Microsoft Yahei ',Arial,sans-serif;
  7. }
  8. UL{
  9. List-style:none;
  10. Margin: 0;
  11. Padding: 0;
  12. Position: relative;
  13. }
  14. Li{
  15. Padding: 10px;
  16. Margin: 2px;
  17. Border: 1px solid #888;
  18. }
Challenge requirements

Use jquery to implement:

    1. Click on the page to add a new LI element at the beginning of the #container container element, with the content text "more languages" and a Delete button (the animation effect is a swipe down)
    2. Click on each Li corresponding delete icon, the current Li is automatically removed from the current list (the animation effect to the left slide disappears)

How to submit:
    • Record the complete code writing process or the final code: http://www.gbtags.com/gb/rtrecorder.htm
    • Posts in this post light video or code address: http://www.gbtags.com/gb/rtreplayerpreview/189.htm
    • " Highly recommended " immediately join the course QQ Group: 157757552, quickly notify the award-winning users and submit express contact information
    • " Highly recommended " personal information to add the "QQ" number, so that we quickly contact the award-winning You
Gift Sponsorship

This challenge Gift 5 parts (extra thick sweatshirt or 16GU dish) by fir.im full sponsorship!

FIR.IM focuses on development testing efficiency, providing developers with products and services such as APP test hosting distribution, real-time crash analysis, and more http://fir.im/

Gift One: Sweatshirt

Gift II: U disk

How to increase the chance of winning?
    • Fastest Completion Award: Fastest Save submission Code
    • Best Lecture Award: Code recording process and its bubbles explained in detail carefully
    • Best Popularity Award: Most people who like (dot +)
    • Participation and its winning prize two

"Fir.im Sponsorship" jquery Programming Challenge #012: Create menu Add and remove animations effects

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.