made-in-akira/webdev/Memory Hole Adventures/hole_style.css

81 lines
No EOL
1.5 KiB
CSS

@keyframes rotate {
from {
transform: rotate(0deg)
}
to {
transform: rotate(359deg)
}
}
@keyframes rotate-anti {
from {
transform: rotate(359deg)
}
to {
transform: rotate(0deg)
}
}
@keyframes spinny {
from {
transform: rotate(0deg) scale(85%)
}
to {
transform: rotate(359deg) scale(0%)
}
}
body { overflow: hidden ; }
.memoryhole_bg0{
position:absolute;
z-index:0;
background-image:url(memoryhole.png);
background-size:100%;
width:1256px;
height:1256px;
animation: rotate-anti 5s infinite;
animation-timing-function: linear;
}
.memoryhole_bg1{
z-index:1;
background-image:url(memoryhole.png);
width:513px;
height:513px;
animation: rotate 5s infinite;
animation-timing-function: linear;
}
.memoryhole_bg2{
position:absolute;
z-index:2;
background-image:url(memoryhole.png);
background-size:100%;
width:256px;
height:256px;
animation: rotate-anti 5s infinite;
animation-timing-function: linear;
}
.memoryhole{
display:flex;
justify-content:center;
align-items: center;
text-align:center;
position: absolute;
left:50%;
top: 50%;
transform: translateX(-50%) translateY(-50%) scale(120%);
width:100%;
height:100%;
overflow: hidden;
}
.memoryhole_input{
position: absolute;
left:50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
text-align:center;
font-family:monospace;
font-size: 30px;
border-radius:300px;
}