JSFiddle - React, Tailwind, and code Playground

by B L Praveen

HTML

<div id="galaxy">
  <div class="bg"></div>
  <div class="stars-back"></div>
  <div class="stars-middle"></div>
  <div class="stars-front"></div>
  <div class="bg center"></div>
</div>

CSS

body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, sans-serif;
	padding: 0;
	margin: 0;
}

#galaxy {
	z-index: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #03092b;
	-webkit-transition: background 0.8s ease-out;
	-moz-transition: background 0.8s ease-out;
	-o-transition: background 0.8s ease-out;
	-ms-transition: background 0.8s ease-out;
	transition: background 0.8s ease-out;
}
#galaxy,
#galaxy .bg {
	width: 100%;
	height: 100%;
}
#galaxy * {
	position: absolute;
}
#galaxy .bg {
	background: url('http://gurde.github.io/css3-animated-galaxy/img/bg.jpg') no-repeat 50% 50%;
}
#galaxy .bg.center {
	top: 50%;
	left: 50%;
	width: 400px;
	height: 200px;
	margin: -100px 0 0 -200px;
	opacity: 0.8;
	-webkit-border-radius: 500px;
	-moz-border-radius: 500px;
	border-radius: 500px;
}
#galaxy [class^="stars"] {
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
}
#galaxy .stars-back {
	background: url('http://gurde.github.io/css3-animated-galaxy/img/back.png');
	-webkit-animation: orbit-clock-wise 440s infinite linear;
	-moz-animation: orbit-clock-wise 440s infinite linear;
	-o-animation: orbit-clock-wise 440s infinite linear;
	-ms-animation: orbit-clock-wise 440s infinite linear;
	animation: orbit-clock-wise 440s infinite linear;
}
#galaxy .stars-middle {
	background: url('http://gurde.github.io/css3-animated-galaxy/img/middle.png');
	-webkit-animation: orbit-counter-clock-wise 360s infinite linear;
	-moz-animation: orbit-counter-clock-wise 360s infinite linear;
	-o-animation: orbit-counter-clock-wise 360s infinite linear;
	-ms-animation: orbit-counter-clock-wise 360s infinite linear;
	animation: orbit-counter-clock-wise 360s infinite linear;
}
#galaxy .stars-front {
	background: url('http://gurde.github.io/css3-animated-galaxy/img/front.png');
	-webkit-animation: orbit-clock-wise 160s infinite linear;
	-moz-animation: orbit-clock-wise 160s infinite linear;
	-o-animation: orbit-clock-wise...