MyLogo CSS
body {
margin: 0;
padding: 0;
box-sizing: border-box;
background: rgb(1, 1, 34);
background-size: cover;
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 200px;
height: 200px;
box-sizing: border-box;
border: 15px solid rgba(0, 0, 0, 8);
border-radius: 50%;
}
.circle1 {
width: 100%;
height: 100%;
border-radius: 50%;
border-style: solid;
border-width: 5px;
border-color: #1fc40f #e74c3c #9b59b6 #2ecc71;
box-sizing: border-box;
animation: animateCircle1 5s linear infinite;
background: #262626;
}
.circle2 {
position: absolute;
top: 16px;
left: 16px;
width: calc(100% - 40px);
height: calc(100% - 40px);
border-radius: 50%;
border: 4px dashed #fff;
animation: animateCircle2 10s linear infinite;
}
.circle3 {
position: absolute;
top: 20px;
left: 20px;
width: calc(100% - 40px);
height: calc(100% - 40px);
border-radius: 50%;
background: url(logo.png);
background-size: cover;
}
@keyframes animateCircle1 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes animateCircle2 {
0% {
transform: rotate(360deg);
}
100% {
transform: rotate(0deg);
}
}
Comments
Post a Comment