The Rocket
How do I make an the rocket?
The rocket fly around planet. [Space Story - part I]. What is a the rocket? How do you make a the rocket? This script and codes were developed by AaronChuo (小狂) on 11 September 2022, Sunday.
The Rocket - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The Rocket</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="planet"></div>
<div class="orbit"> <div class="ship"></div>
</div>
</body>
</html>
The Rocket - Script Codes CSS Codes
body { background-color: #000;
}
.planet { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 200px; height: 200px; border-radius: 50%; background-color: #0cc; box-shadow: -40px -20px 30px 0 #0aa inset, 0 0 25px 5px #0cc;
}
.orbit { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 220px; height: 220px; -webkit-animation: rotate 8s linear infinite; animation: rotate 8s linear infinite;
}
.ship { position: relative; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-color: transparent transparent #c33; border-width: 0 10px 15px; -webkit-transform: rotateZ(40deg); transform: rotateZ(40deg);
}
.ship:before { content: ''; display: block; position: relative; top: 15px; left: -10px; width: 20px; height: 30px; border-radius: 0 0 2px 2px; background-color: #ddd; z-index: 1; box-shadow: -8px 0 0 #ccc inset;
}
.ship:after { content: ''; display: block; position: relative; top: 10px; left: -6px; width: 12px; height: 12px; border-radius: 0 80%; background-color: #fc3; box-shadow: 0 0 2px 1px #fc3, 0 0 2px 4px #c30; -webkit-transform: rotateZ(50deg); transform: rotateZ(50deg); -webkit-animation: flick 150ms linear infinite alternate; animation: flick 150ms linear infinite alternate;
}
@-webkit-keyframes rotate { 0% { -webkit-transform: rotateZ(0deg); transform: rotateZ(0deg); } 100% { -webkit-transform: rotateZ(360deg); transform: rotateZ(360deg); }
}
@keyframes rotate { 0% { -webkit-transform: rotateZ(0deg); transform: rotateZ(0deg); } 100% { -webkit-transform: rotateZ(360deg); transform: rotateZ(360deg); }
}
@-webkit-keyframes flick { 0% { -webkit-transform: translate(0, 0) rotateZ(50deg); transform: translate(0, 0) rotateZ(50deg); } 100% { -webkit-transform: translate(0, -4px) rotateZ(40deg); transform: translate(0, -4px) rotateZ(40deg); }
}
@keyframes flick { 0% { -webkit-transform: translate(0, 0) rotateZ(50deg); transform: translate(0, 0) rotateZ(50deg); } 100% { -webkit-transform: translate(0, -4px) rotateZ(40deg); transform: translate(0, -4px) rotateZ(40deg); }
}
Developer | AaronChuo (小狂) |
Username | aaronchuo |
Uploaded | September 11, 2022 |
Rating | 3 |
Size | 2,651 Kb |
Views | 36,432 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Happy Birthday to Me | 4,549 Kb |
Chopper by pure CSS, no image, no javascript | 3,905 Kb |
BBQ by pure CSS, no image, no javascript | 8,395 Kb |
Ramen by pure CSS | 8,684 Kb |
Gradient Color Spin | 2,986 Kb |
The Heart | 2,405 Kb |
I drink and I know things | 2,218 Kb |
Apple Watch Bubble-like UI | 3,765 Kb |
Glitch Image | 6,535 Kb |
Random Displacement of Data Node | 3,075 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
P5.js data visualization | Enginarslan | 2,233 Kb |
Animating characters with jQuery | 042 | 2,776 Kb |
CSS Piano | Dannystyle | 5,138 Kb |
Sequence.js - Sliding Horizontal Parallax | Maheshc | 4,537 Kb |
A Pen by Kevin | Kevinkenger | 2,642 Kb |
Flying Bee | Pwsm50 | 3,711 Kb |
Working around OS X Dynamic Scrollbars | Jrjenk | 2,279 Kb |
Opening Reveal Modal On Document Ready | Winghouchan | 1,787 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Cool Page Split Effect | Anthonyadamski | 6,128 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!