<div class='light x1'></div>
<div class='light x2'></div>
<div class='light x3'></div>
<div class='light x4'></div>
<div class='light x5'></div>
<div class='light x6'></div>
<div class='light x7'></div>
<div class='light x8'></div>
<div class='light x9'></div>
body {
margin: 0;
height: 100vh;
font-weight: 100;
background: radial-gradient(#03A39B,#046382);
overflow-Y: hidden;
overflow-Y: hidden;
overflow-Y: hidden;
overflow-y: hidden;
animation: fadeIn 1 1s ease-out;
animation: fadeIn 1 1s ease-out;
animation: fadeIn 1 1s ease-out;
animation: fadeIn 1 1s ease-out;
}
.light {
position: absolute;
width: 0px;
opacity: .15;
background-color: white;
box-shadow: #e9f1f1 0px 0px 20px 2px;
opacity: 0;
top: 100vh;
bottom: 0px;
left: 0px;
right: 0px;
margin: auto;
}
.x1{
animation: floatUp 4s infinite linear;
animation: floatUp 4s infinite linear;
animation: floatUp 4s infinite linear;
animation: floatUp 4s infinite linear;
transform: scale(1.0);
transform: scale(1.0);
transform: scale(1.0);
transform: scale(1.0);
}
.x2{
animation: floatUp 7s infinite linear;
animation: floatUp 7s infinite linear;
animation: floatUp 7s infinite linear;
animation: floatUp 7s infinite linear;
transform: scale(1.6);
transform: scale(1.6);
transform: scale(1.6);
transform: scale(1.6);
left: 15%;
}
.x3{
animation: floatUp 2.5s infinite linear;
animation: floatUp 2.5s infinite linear;
animation: floatUp 2.5s infinite linear;
animation: floatUp 2.5s infinite linear;
transform: scale(.5);
transform: scale(.5);
transform: scale(.5);
transform: scale(.5);
left: -15%;
}
.x4{
animation: floatUp 4.5s infinite linear;
animation: floatUp 4.5s infinite linear;
animation: floatUp 4.5s infinite linear;
animation: floatUp 4.5s infinite linear;
transform: scale(1.2);
transform: scale(1.2);
transform: scale(1.2);
transform: scale(1.2);
left: -34%;
}
.x5{
animation: floatUp 8s infinite linear;
animation: floatUp 8s infinite linear;
animation: floatUp 8s infinite linear;
animation: floatUp 8s infinite linear;
transform: scale(2.2);
transform: scale(2.2);
transform: scale(2.2);
transform: scale(2.2);
left: -57%;
}
.x6{
animation: floatUp 3s infinite linear;
animation: floatUp 3s infinite linear;
animation: floatUp 3s infinite linear;
animation: floatUp 3s infinite linear;
transform: scale(.8);
transform: scale(.8);
transform: scale(.8);
transform: scale(.8);
left: -81%;
}
.x7{
animation: floatUp 5.3s infinite linear;
animation: floatUp 5.3s infinite linear;
animation: floatUp 5.3s infinite linear;
animation: floatUp 5.3s infinite linear;
transform: scale(3.2);
transform: scale(3.2);
transform: scale(3.2);
transform: scale(3.2);
left: 37%;
}
.x8{
animation: floatUp 4.7s infinite linear;
animation: floatUp 4.7s infinite linear;
animation: floatUp 4.7s infinite linear;
animation: floatUp 4.7s infinite linear;
transform: scale(1.7);
transform: scale(1.7);
transform: scale(1.7);
transform: scale(1.7);
left: 62%;
}
.x9{
animation: floatUp 4.1s infinite linear;
animation: floatUp 4.1s infinite linear;
animation: floatUp 4.1s infinite linear;
animation: floatUp 4.1s infinite linear;
transform: scale(0.9);
transform: scale(0.9);
transform: scale(0.9);
transform: scale(0.9);
left: 85%;
}
@-webkit-keyframes floatUp{
0%{top: 100vh; opacity: 0;}
25%{opacity: 1;}
50%{top: 0vh; opacity: .8;}
75%{opacity: 1;}
100%{top: -100vh; opacity: 0;}
}
@-moz-keyframes floatUp{
0%{top: 100vh; opacity: 0;}
25%{opacity: 1;}
50%{top: 0vh; opacity: .8;}
75%{opacity: 1;}
100%{top: -100vh; opacity: 0;}
}
@-o-keyframes floatUp{
0%{top: 100vh; opacity: 0;}
25%{opacity: 1;}
50%{top: 0vh; opacity: .8;}
75%{opacity: 1;}
100%{top: -100vh; opacity: 0;}
}
@keyframes floatUp{
0%{top: 100vh; opacity: 0;}
10%{opacity: .1;}
30%{top: 0vh; opacity: .3;}
40%{opacity: .4;}
100%{top: -100vh; opacity: 0;}
}
@-webkit-keyframes fadeIn{
from{opacity: 0;}
to{opacity: .6;}
}
@-moz-keyframes fadeIn{
from{opacity: 0;}
to{opacity: .6;}
}
@-o-keyframes fadeIn{
from{opacity: 0;}
to{opacity: .6;}
}
@keyframes fadeIn{
from{opacity: 0;}
to{opacity: .6;}
}
@-webkit-keyframes fadeOut{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@-moz-keyframes fadeOut{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@-o-keyframes fadeOut{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@keyframes fadeOut{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@-webkit-keyframes finalFade{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@-moz-keyframes finalFade{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@-o-keyframes finalFade{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
@keyframes finalFade{
0%{opacity: 0;}
30%{opacity: 1;}
40%{opacity: .4;}
60%{opacity: .6;}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.