diff --git a/follow/index.html b/follow/index.html
index a75f5b4..c070d22 100644
--- a/follow/index.html
+++ b/follow/index.html
@@ -7,22 +7,17 @@
#logo {
height: 70px;
width: 70px;
- margin-top: -35px;
- margin-left: -35px;
}
#light {
background: red;
box-shadow: 0 0 80px red, 0 0 30px FireBrick, 0 0 6px DarkRed;
+ border-radius: 50%;
height: 80px;
width: 80px;
- margin-top: -40px;
- margin-left: -40px;
}
.swing {
- border-radius: 50%;
position: absolute;
top: 50%;
- left: 20%;
animation: swing 4s ease-in-out infinite, spin 2s linear infinite;
}
@keyframes swing {
@@ -38,10 +33,10 @@
}
@keyframes spin {
0% {
- transform: rotate(0deg);
+ transform: translate(-50%, -50%) rotate(0deg);
}
100% {
- transform: rotate(360deg);
+ transform: translate(-50%, -50%) rotate(360deg);
}
}