Results 1 to 1 of 1

Thread: CSS3 Animation

  1. #1
    Join Date
    Mar 2010
    Location
    Florida
    Posts
    512
    Thanks
    9
    Thanked 61 Times in 59 Posts

    Default CSS3 Animation

    Hello, I am currently trying to use some CSS3 animation to do some simple rotations. I am using keyframes. However, there are a few questions. Part of this might be Jquery also.
    Anyways, I need to do an animation unlimited amount of times (while doing an ajax call for instance). During the ajax call a loading animation will happen and a class will be added to that animation.
    Once that ajax is finished the loading animation will be removed. However, I want the animate to be finished because I will be attaching another animation to it also.

    https://jsfiddle.net/wrwnmrj1/4/

    Above is an example of the loading animation. After I am placing items in the "div" then adding an animation to expand it.

    Any help would be great. Thanks

    ==================================================================
    EDIT:
    Well I think I have a weird way of doing this.
    I appended an eventlistener at the end. If the ajax hasnt been completed then restart.

    Here is a look: https://jsfiddle.net/wrwnmrj1/5/

    But it wont restart after adding the same class again.
    Last edited by Deadweight; 11-11-2016 at 04:40 AM.
    -DW [Deadweight]
    Resolving your thread: First Post: => EDIT => Lower right: => GO ADVANCED => Top Advance Editor drop down: => PREFIX:Resolved

Similar Threads

  1. How to use animation feature in CSS3?
    By bintje in forum CSS
    Replies: 1
    Last Post: 04-17-2015, 08:01 AM
  2. Css not working in ie(css3)
    By mkmoorthy in forum CSS
    Replies: 1
    Last Post: 02-28-2014, 04:52 AM
  3. CSS3 Help
    By dmwhipp in forum CSS
    Replies: 0
    Last Post: 10-29-2013, 01:01 AM
  4. Test for CSS3?
    By jlizarraga in forum JavaScript
    Replies: 4
    Last Post: 03-08-2009, 01:10 PM
  5. Replies: 4
    Last Post: 12-17-2005, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •