<h1>Blob Loader</h1>
<div class="blob"></div>
<small>/roman.codes</small>
body {
font-family: 'Teko';
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
height: 100%;
padding: 0;
margin: 0;
font-size: 2em;
box-sizing: border-box;
background: linear-gradient(90deg, #1D976C 0%, #93F9B9 100%);
color: #fff;
}
html {
box-sizing: border-box;
height: 100%;
}
small {
opacity: .4;
}
h1 {
color: #fff;
text-shadow: 2px 2px 2px rgb(0, 0, 0, 0.6);
text-align: center;
margin-bottom: 0;
}
.blob {
position: relative;
width: 150px;
height: 150px;
border-radius: 150px;
animation: rotato 2s 0.2s linear infinite;
-webkit-transform-origin: 49% 49%;
margin-bottom: 15px;
background-color: #fff;
}
.blob:before, .blob:after {
content: '';
background-color: #fff;
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-radius: 150px;
opacity: 0.5;
}
.blob:before {
animation: rotato 4s 0.5s linear infinite;
-webkit-transform-origin: 50% 52%;
}
.blob:after {
animation: rotato 3s linear infinite reverse;
-webkit-transform-origin: 48% 52%;
}
@-webkit-keyframes rotato {
to {
transform: rotate(360deg);
}
}
This Pen doesn't use any external JavaScript resources.