Answers for "css fade in animation with delay"

CSS
2

css animation delay

/* Answer to: "css animation delay" */

/*
  The animation-delay property specifies a delay for the start of an animation.
*/

div {
  animation-delay: 2s;
}
Posted by: Guest on June-29-2020
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

Browse Popular Code Answers by Language