The Rocket

Size
2,651 Kb
Views
36,432

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 Previews

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); }
}
The Rocket - Script Codes
The Rocket - Script Codes
Home Page Home
Developer AaronChuo (小狂)
Username aaronchuo
Uploaded September 11, 2022
Rating 3
Size 2,651 Kb
Views 36,432
Do you need developer help for The Rocket?

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!

AaronChuo (小狂) (aaronchuo) Script Codes
Create amazing love letters with AI!

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!