How to adjust the speed of fadein and fadeout

How to adjust the speed of fadein and fadeout
0.0 0

#1

Hi, I would like to know how to adjust the speed of fadeIn and fadeOut.
Here is the link to my pen https://codepen.io/yongyili921/pen/QmjBLV
Thanks!


#2

hi @yongyili921,
first, there’s no <p1> tag in html. use <p> instead, then for css and js, select the element by its class name or id.
animation duration is set in https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css
override this css

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both
}