Answers for "css animation delay not working on fade in"

CSS
0

css animation fade out after delay

<style>
  #text{
  transition-duration:1s; /* <= creates fade out effect */
  transition-delay:1s;
}
</style>

<p onclick="this.style.opacity=0" id="text">My text</p>
Posted by: Guest on May-26-2021
0

css animation delay does not work

You've specified the -webkit versions in the wrong order.
The -webkit-animation replaces the delay rule 
that you just set up. Reverse the order so that the delay comes after.
Posted by: Guest on April-17-2021

Browse Popular Code Answers by Language