Template:BibisiLauncher/style.css
From SNCApedia, the shit nobody cares about encyclopedia
/* The launch animation: Acceleration, slight wobble, and high-speed exit */
@keyframes launch-sequence {
0% { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
10% { transform: translateY(20px) rotate(-5deg) scale(1.1); } /* Ignition/Wobble */
20% { transform: translateY(-50px) rotate(5deg) scale(1.2); } /* Lift off */
30% { transform: translateY(-150px) rotate(0deg) scale(1); } /* Stabilization */
100% { transform: translateY(-1500px) scale(0.5); opacity: 0; } /* Thrust out of screen */
}
.missile-object {
position: fixed;
bottom: -100px; /* Starts below the screen */
left: 50%;
visibility: hidden;
z-index: 9999;
font-size: 50px;
/* Acceleration curve: starts slow (ignition), ends very fast */
transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.launcher-btn:active + .missile-object {
visibility: visible;
/* Animation duration: 1.5s is fast, perfect for a launch */
animation: launch-sequence 1.5s cubic-bezier(0.5, 0, 1, 0) forwards;
}
.launcher-btn {
cursor: pointer;
display: inline-block;
padding: 10px;
background: #333;
color: #fff;
border-radius: 5px;
}