Check out example codes for "css aurora effect". It will help you in understanding the concepts better.

Code Example 1

<section class="your-container">
  <div class="auroral-northern"></div>
</section>

Code Example 2

<head>
  <link rel="stylesheet" type="text/css" href="css/auroral.css"/>
</head>

Learn ReactJs, React Native from akashmittal.com