Linked Questions

1 vote
1 answer
3k views

I know that we can use the below css to blink a div for the number of times specified: html: <div class="blink">blinking text</div> css: @-webkit-keyframes blinker { 0% { opacity: 1.0; }...
Coolguy's user avatar
  • 2,295
0 votes
2 answers
573 views

I have a flashing sprite css animation for an empty div. #flashIt{ width: 50%; height: 100px; background: blue; margin: 10px auto; border: solid 2px black; left: 25%; animation: ...
sabloso's user avatar
0 votes
1 answer
556 views

I took this code from another question "CSS Animation onClick". I was wondering if it could be possible to have a button that recall the function, even in the middle of the animation, so that it ...
dsdsd's user avatar
  • 1
0 votes
1 answer
84 views

Is there a way to call the function animation multiple times after first click without changing the HTML code? I need to keep id and class as they are in the code. I was trying to use display ...
jack's user avatar
  • 3
0 votes
1 answer
59 views

document.querySelector(".fall").addEventListener("click", function () { document.querySelector(".ball").style.animation = "anim 2s forwards"; }); //my try below document.querySelector(".up")....
Mohiul Islam's user avatar
130 votes
15 answers
162k views

I have a CSS3 animation that needs to be restarted on a click. It's a bar showing how much time is left. I'm using the scaleY(0) transform to create the effect. Now I need to restart the animation by ...
Leo's user avatar
  • 1,483
41 votes
4 answers
41k views

I am building non-jQuery responsive image slider based on CSS3 transitions. The structure is simple: a viewport and inside relatively positioned UL with left floated LIs. I am facing a problem in ...
Simon's user avatar
  • 622
5 votes
2 answers
11k views

Each time a css3 animation loops I'd like to change a variable in the style. For example the following css drops a group of parachutes from the top to the bottom of the screen: @-webkit-keyframes ...
willdanceforfun's user avatar
5 votes
6 answers
6k views

I have an animation using Animate.CSS that I would like to have replay if the user would like but what I have attempted does not work. Here is the code: HTML: <div class="img-center"> ...
L84's user avatar
  • 46.5k
1 vote
1 answer
4k views

I have a coin animation but I need to repeat this animation every 30 seconds, is it possible? Thanks. img { width: 100px; height: 100px; } .imageRotateHorizontal{ animation: ...
Kicker's user avatar
  • 606
1 vote
1 answer
5k views

Is there any callback on webkit-animation complete? see example @-webkit-keyframes "blink" { 0% { opacity: 1; } 100% { opacity: 0; } } .animate { background: #000; height: 100px; ...
puchu's user avatar
  • 3,750
8 votes
2 answers
3k views

I am trying to figure out a solid, cross-(modern)browser method for using CSS3 Animation Events and Event Listeners to gain fine-tuned control over CSS3 animations. I know its possible to do this. ...
Bizarro Zeldman's user avatar
0 votes
2 answers
2k views

I'm using some CSS3 2D transforms to animate a menu for an Android specific web app. I'm inserting the animation parameters using Javascript as they only apply after an ontouchstart function is ...
tcnarss's user avatar
  • 595
0 votes
1 answer
739 views

I want to trigger javascript via CSS animations and vice versa (Javascript to trigger CSS). The end goal is to have CSS animations flicker on and off and have them trigger audio files that are ...
William's user avatar
  • 4,580
6 votes
1 answer
670 views

Here is an HTML form: <form method="post" action="camount.php" id="loginForm"> <span id="heading"> Username: <input type="text" ...
Celeritas's user avatar
  • 15.2k

15 30 50 per page