title: React.js remove element after animation
body: <p>I am trying to make a splashscreen in react.js, but I can't find a solution to, how should I make it disappear after an animation. I want to make it, so that it fades out.</p>
  <p>Here's my code:</p>
  <pre><code>export const Home = () =&gt; {
  
    return (
      &lt;&gt;
       &lt;div className=&quot;splash&quot;&gt;
        &lt;LoadingSplash id=&quot;hideMe&quot;/&gt;
        &lt;/div&gt;
        &lt;div className=&quot;homePage&quot;&gt;
        &lt;h1 className=&quot;title font-weight-bold text-center&quot;&gt;Title&lt;/h1&gt;
        &lt;div className=&quot;video&quot;&gt;&lt;/div&gt;
        &lt;div className=&quot;d-flex&quot;&gt;
          &lt;Calendar /&gt;
        &lt;/div&gt;
        &lt;/div&gt;
      &lt;/&gt;
    );
  };
  </code></pre>