Planets
How do I make an planets?
Just a planet with a moon near.. What is a planets? How do you make a planets? This script and codes were developed by Bryan Jones on 13 July 2022, Wednesday.
Planets - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Planets</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="stars-far"></div>
<div class="stars-close"></div>
<div class="planet-1"> <div class="crater-1"></div> <div class="crater-2"></div> <div class="crater-3"></div>
</div>
<div class="moon-1"> <div class="crater-4"></div> <div class="crater-5"></div>
</div>
</body>
</html>
Planets - Script Codes CSS Codes
/** * @todo * Create mixin for craters. */
body { background-color: #000; height: 100%; width: 100%;
}
.stars-far { -webkit-animation: stars 0.5s steps(3) infinite alternate; -moz-animation: stars 0.5s steps(3) infinite alternate; animation: stars 0.5s steps(3) infinite alternate; background: url(http://www.bryanjones.us/sites/default/files/stars.png) repeat scroll left top transparent; height: 100%; left: 0; position: absolute; top: 0; width: 100%;
}
.planet-1 { background-color: #0a5; border: none; height: 200px; position: absolute; right: 30%; top: 30%; width: 200px; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-shadow: inset -20px -20px 20px 10px #031; -webkit-box-shadow: inset -20px -20px 20px 10px #031; box-shadow: inset -20px -20px 20px 10px #031;
}
.crater-1 { background: #009148; height: 30px; position: absolute; right: 60px; top: 40px; width: 30px; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-shadow: inset 1px 1px 1px 1px #004422, -1px -1px 1px 1px #00dd6f, 3px 3px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462; -webkit-box-shadow: inset 1px 1px 1px 1px #004422, -1px -1px 1px 1px #00dd6f, 3px 3px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462; box-shadow: inset 1px 1px 1px 1px #004422, -1px -1px 1px 1px #00dd6f, 3px 3px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462;
}
.crater-2 { background: #009148; height: 40px; position: absolute; right: 100px; top: 100px; width: 40px; -moz-border-radius: 50% 40%; -webkit-border-radius: 50%; border-radius: 50% 40%; -moz-box-shadow: inset 2px 2px 1px 1px #004422, -2px -2px 1px 1px #00dd6f, 5px 5px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462; -webkit-box-shadow: inset 2px 2px 1px 1px #004422, -2px -2px 1px 1px #00dd6f, 5px 5px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462; box-shadow: inset 2px 2px 1px 1px #004422, -2px -2px 1px 1px #00dd6f, 5px 5px 0px 0px #00773c, inset -1px -1px 1px 0px #00c462;
}
.crater-3 { background: #005e2f; height: 20px; position: absolute; right: 40px; top: 140px; width: 20px; -moz-border-radius: 50% 40%; -webkit-border-radius: 50%; border-radius: 50% 40%; -moz-box-shadow: inset 3px 3px 1px 0px #004422, -1px -1px 1px 1px #009148, 1px 1px 0px 0px #001109, inset -1px -1px 1px 0px #009148; -webkit-box-shadow: inset 3px 3px 1px 0px #004422, -1px -1px 1px 1px #009148, 1px 1px 0px 0px #001109, inset -1px -1px 1px 0px #009148; box-shadow: inset 3px 3px 1px 0px #004422, -1px -1px 1px 1px #009148, 1px 1px 0px 0px #001109, inset -1px -1px 1px 0px #009148;
}
.moon-1 { background-color: #aaa; height: 60px; left: 40%; position: absolute; top: 60%; width: 60px; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-shadow: inset -10px -10px 10px 3px #2b2b2b; -webkit-box-shadow: inset -10px -10px 10px 3px #2b2b2b; box-shadow: inset -10px -10px 10px 3px #2b2b2b;
}
.crater-4 { background: #9d9d9d; height: 10px; position: absolute; right: 30px; top: 10px; width: 10px; -moz-border-radius: 50% 40%; -webkit-border-radius: 50%; border-radius: 50% 40%; -moz-box-shadow: inset 1px 1px 1px 0px #777777, -1px -1px 1px 1px #b7b7b7, 1px 1px 0px 0px #5e5e5e, inset -1px -1px 1px 0px #b7b7b7; -webkit-box-shadow: inset 1px 1px 1px 0px #777777, -1px -1px 1px 1px #b7b7b7, 1px 1px 0px 0px #5e5e5e, inset -1px -1px 1px 0px #b7b7b7; box-shadow: inset 1px 1px 1px 0px #777777, -1px -1px 1px 1px #b7b7b7, 1px 1px 0px 0px #5e5e5e, inset -1px -1px 1px 0px #b7b7b7;
}
.crater-5 { background: #6a6a6a; height: 10px; position: absolute; right: 20px; top: 40px; width: 10px; -moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -moz-box-shadow: inset 1px 1px 1px 0px #444444, -1px -1px 1px 1px #9d9d9d, 1px 1px 0px 0px #444444, inset -1px -1px 1px 0px #848484; -webkit-box-shadow: inset 1px 1px 1px 0px #444444, -1px -1px 1px 1px #9d9d9d, 1px 1px 0px 0px #444444, inset -1px -1px 1px 0px #848484; box-shadow: inset 1px 1px 1px 0px #444444, -1px -1px 1px 1px #9d9d9d, 1px 1px 0px 0px #444444, inset -1px -1px 1px 0px #848484;
}
/*@-webkit-keyframes stars{ 0%{background-position:0 0} 100%{background-position:0 -525px}
}
@-moz-keyframes stars{ 0%{background-position:0 0} 100%{ background-position:0 -525px }
}
@keyframes stars{ 0%{ background-position:0 0 } 100%{ background-position:0 -525px }
}*/
Developer | Bryan Jones |
Username | bartuc |
Uploaded | July 13, 2022 |
Rating | 3.5 |
Size | 2,959 Kb |
Views | 87,032 |
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 |
Lens Flare | 4,199 Kb |
Light Switch | 4,933 Kb |
Solar System | 3,454 Kb |
Gravity | 4,905 Kb |
Planet Awesome | 3,554 Kb |
Atom | 3,816 Kb |
Screens | 5,328 Kb |
Reflections | 5,028 Kb |
Earth Clock | 5,611 Kb |
Books | 5,030 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 |
ABVI Menu Discarded | Overdrivemachines | 3,607 Kb |
Animating characters with jQuery | 042 | 2,776 Kb |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 Kb |
Clock Face Idea | Chrisburnell | 3,196 Kb |
Ball physics | Blackkbot | 3,874 Kb |
Box-sizing | Elad2412 | 1,572 Kb |
Comparison of Roboto Draft vs Roboto | Jxnblk | 2,880 Kb |
Polo, the flying squirrel | Agbales | 2,445 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!