console
<div class="loading">
<span>
LOADING
</span>
<div class="hex">
</div>
<div class="hex">
</div>
<div class="hex">
</div>
<div class="hex">
</div>
<div class="hex">
</div>
<div class="hex">
</div>
<div class="hex">
</div>
</div>
html,
body {
background:
box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
background-image: url(https://unsplash.it/1000/500/?random);
background-size: cover;
background-position: center;
background-color: red;
background-blend-mode: multiply;
}
body:before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: red;
background-blend-mode: screen;
opacity: 0.2;
}
.loading {
width: 100px;
height: 100px;
position: fixed;
top: 50%;
left: 50%;
margin: -50px 0 0 -50px;
border-radius: 50%;
animation: fadeIn 2s 1;
-webkit-animation-fill-mode: forwards;
* Safari 4.0 - 8.0 */ animation-fill-mode: forwards;
}
.loading span {
color:
display: block;
top: 100%;
position: absolute;
font-size: 1.2em;
width: 100%;
font-family: 'Chathura', sans-serif;
text-align: center;
margin: 10px 0;
letter-spacing: 0.3em;
}
.hex:nth-child(1) {
top: 10px;
left: 17px;
animation-delay: 0.1s
}
.hex:nth-child(2) {
top: 10px;
left: 51px;
animation-delay: 0.2s
}
.hex:nth-child(3) {
top: 40px;
left: 70px;
animation-delay: 0.3s
}
.hex:nth-child(4) {
top: 70px;
left: 51px;
animation-delay: 0.4s
}
.hex:nth-child(5) {
top: 70px;
left: 17px;
animation-delay: 0.5s
}
.hex:nth-child(6) {
top: 40px;
left: 0;
animation-delay: 0.6s
}
.hex:nth-child(7) {
top: 40px;
left: 35px;
animation-delay: 0.7s
}
.hex:nth-child(8) {
top: 10px;
left: 17px;
animation-delay: 0.1s
}
.hex {
position: absolute;
width: 30px;
height: 20px;
background-color:
opacity: 0.2;
animation: fade 1.5s infinite ease;
box-shadow: 0 0 20px
opacity: 0.1;
}
.hex:before,
.hex:after {
position: absolute;
content: "";
width: 0;
border-left: 15px solid transparent;
border-right: 15px solid transparent;
}
.hex:before {
border-bottom: 8px solid
bottom: 100%;
}
.hex:after {
width: 0;
top: 100%;
border-top: 8px solid
}
@keyframes fade {
0% {
opacity: 0.5;
transform: scale(1);
}
7% {
opacity: 0;
transform: scale(0.2);
}
42% {
opacity: 0;
transform: scale(0.2);
}
49% {
opacity: 0.5;
transform: scale(1);
}
100% {
opacity: 0.5;
transform: scale(1);
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}