Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Poordeveloper/ae06f1594a85c1843df7 to your computer and use it in GitHub Desktop.
Save Poordeveloper/ae06f1594a85c1843df7 to your computer and use it in GitHub Desktop.
RitarSoft Company Logo Animation Loader
- var n = 1
div#ritarsoft
while n < 11
div(class="circle circle-#{n++}")
h1 Ritar
span Soft
@import url(http://fonts.googleapis.com/css?family=Nunito);
body{
margin: 0;
padding: 0;
background-color: #8EC04F;
overflow: hidden;
}
#ritarsoft{
position: absolute;
width: 800px;
height: 600px;
top: 50%;
left: 50%;
margin: -300px 0 0 -400px;
}
#ritarsoft h1{
position: relative;
text-align: center;
color: #fff;
line-height: 550px;
margin: 0;
padding: 0;
font-size: 200px;
font-family: 'Helvetica Rounded LT Std' 'Nunito', sans-serif;
font-weight: normal;
letter-spacing: -5px;
text-indent: -20px;
color: #FFFFFF;
z-index: 3;
}
#ritarsoft h1 span {
color: #B5D441;
z-index: 3;
}
/*Circle*/
.circle{
width: 0;
height: 0;
position: absolute;
background-color: #2A1A11;
border-radius: 50%;
-webkit-transform: scale(0);
-webkit-animation-name: circle;
-webkit-animation-duration: 3000ms;
-webkit-animation-fill-mode: forwards;
-webkit-animation-timing-function: ease-out;
-webkit-animation-iteration-count: infinite;
-moz-transform: scale(0);
-moz-animation-name: circle;
-moz-animation-duration: 3000ms;
-moz-animation-fill-mode: forwards;
-moz-animation-timing-function: ease-out;
-moz-animation-iteration-count: infinite;
-ms-transform: scale(0);
-ms-animation-name: circle;
-ms-animation-duration: 3000ms;
-ms-animation-fill-mode: forwards;
-ms-animation-timing-function: ease-out;
-ms-animation-iteration-count: infinite;
transform: scale(0);
animation-name: circle;
animation-duration: 3000ms;
animation-fill-mode: forwards;
animation-timing-function: ease-out;
animation-iteration-count: infinite;
}
.circle-1{
padding: 150px;
left: -60px;
top: 125px;
z-index: 2;
-webkit-animation-delay: 50ms;
-moz-animation-delay: 50ms;
-ms-animation-delay: 50ms;
animation-delay: 50ms;
}
.circle-2{
padding: 125px;
left: 125px;
top: 245px;
z-index: 2;
-webkit-animation-delay: 100ms;
-moz-animation-delay: 100ms;
-ms-animation-delay: 100ms;
animation-delay: 100ms;
}
.circle-3{
padding: 125px;
left: 150px;
top: 110px;
z-index: 2;
-webkit-animation-delay: 150ms;
-moz-animation-delay: 150ms;
-ms-animation-delay: 150ms;
animation-delay: 150ms;
}
.circle-4{
padding: 140px;
left: 325px;
top: 130px;
z-index: 2;
-webkit-animation-delay: 200ms;
-moz-animation-delay: 200ms;
-ms-animation-delay: 200ms;
animation-delay: 200ms;
}
.circle-5{
padding: 180px;
left: 490px;
top: 110px;
z-index: 2;
-webkit-animation-delay: 200ms;
-moz-animation-delay: 200ms;
-ms-animation-delay: 200ms;
animation-delay: 200ms;
}
.circle-6{
padding: 130px;
left: 340px;
top: 30px;
z-index: 1;
background-color: #00A15D;
-webkit-animation-delay: 200ms;
-moz-animation-delay: 200ms;
-ms-animation-delay: 200ms;
animation-delay: 200ms;
}
.circle-7{
padding: 80px;
left: 880px;
top: 300px;
z-index: 1;
background-color: #00A15D;
-webkit-animation-delay: 200ms;
-moz-animation-delay: 200ms;
-ms-animation-delay: 200ms;
animation-delay: 200ms;
}
.circle-8{
padding: 20px;
left: 930px;
top: 320px;
z-index: 2;
-webkit-animation-delay: 250ms;
-moz-animation-delay: 250ms;
-ms-animation-delay: 250ms;
animation-delay: 250ms;
}
.circle-9{
padding: 40px;
left: 700px;
top: 0px;
z-index: 1;
background-color: #00A15D; /* 8FC04D */
-webkit-animation-delay: 250ms;
-moz-animation-delay: 250ms;
-ms-animation-delay: 250ms;
animation-delay: 250ms;
}
.circle-10{
padding: 25px;
left: 130px;
top: 185px;
z-index: 3;
background-color: #00A15D;
-webkit-animation-delay: 300ms;
-moz-animation-delay: 300ms;
-ms-animation-delay: 300ms;
animation-delay: 300ms;
}
@-webkit-keyframes circle{
from {
-webkit-transform: scale(0);
}
8%{
-webkit-transform: scale(1.3);
}
12%{
-webkit-transform: scale(1);
}
60%{
-webkit-transform: scale(1);
}
62%{
-webkit-transform: scale(1.2);
}
64%{
-webkit-transform: scale(0);
}
to {
-webkit-transform: scale(0);
}
}
@-moz-keyframes circle{
from {
-moz-transform: scale(0);
}
8%{
-moz-transform: scale(1.3);
}
12%{
-moz-transform: scale(1);
}
60%{
-moz-transform: scale(1);
}
62%{
-moz-transform: scale(1.2);
}
64%{
-moz-transform: scale(0);
}
to {
-moz-transform: scale(0);
}
}
@-ms-keyframes circle{
from {
-ms-transform: scale(0);
}
8%{
-ms-transform: scale(1.3);
}
12%{
-ms-transform: scale(1);
}
60%{
-ms-transform: scale(1);
}
62%{
-ms-transform: scale(1.2);
}
64%{
-ms-transform: scale(0);
}
to {
-ms-transform: scale(0);
}
}
@keyframes circle{
from {
transform: scale(0);
}
8%{
transform: scale(1.3);
}
12%{
transform: scale(1);
}
60%{
transform: scale(1);
}
62%{
transform: scale(1.2);
}
64%{
transform: scale(0);
}
to {
transform: scale(0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment