Answers for "how to fade in and out without using animation"

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

Code answers related to "how to fade in and out without using animation"

Browse Popular Code Answers by Language