react-reveal icon indicating copy to clipboard operation
react-reveal copied to clipboard

Delay doesn't work with Custom CSS effects

Open cmdalbem opened this issue 5 years ago • 1 comments

When using a custom CSS effect with delay the element is rendered, normally, and after the delay the effect takes places.

React:

<Reveal effect="blurIn" delay={500}>
    <img .../>
</Reveal>

CSS:

@keyframes blurIn {
  from { 
    filter: blur(30px);
    opacity: 0.7;
  }
  
  to {
    filter: blur(0);
    opacity: 1;
  }
}
.blurIn {
  animation-name: blurIn;
}

Result

cmdalbem avatar Jun 28 '20 20:06 cmdalbem

It's not working for me either. but it works with css animation delay

sravanreddy29 avatar Jul 13 '20 14:07 sravanreddy29