Solar System | HTML CSS

preview_player
Показать описание
#shorts #html #css #tutorials #trending

Sound effects from Pixabay.
Рекомендации по теме
Комментарии
Автор

The birds represent that you stayed up all night again

memerightsactivist
Автор

This would be a cool loading screen animation

chatebillychilima
Автор

*Accidentally misses a dot*
**Sun starts revolving moon**

KawazakiZedit
Автор

python:

import solar_system as sys
variable = sys.create()
print(variable)

dqsh
Автор

would love a tutorial explaining what everything does. For newbies like me this is magic!

fuzzy-
Автор

python: Ah f**k it. I'll just import.

souhardyaroy
Автор

I was shut down n now I'm waking up, n i really need a supportive coders like u man. I will learn n earn.

anavaratha
Автор

The only thing I like is that
1 : it does work
2 : He does care about the keyboard types

EnesTheLeafeon
Автор

If I recalled correctly, I've seen someone only use HTML and CSS to create full solar system. You can zoom in and it shows full info on that planet, it can rotate, and the design is ASTONISHING like straight out Stellar movie.

vihungchu
Автор

programmers dont type that fast actually, they will google at least something once in a few minutes

captheobbyist
Автор

Html coders: **goin' tryhard**
Python coders: "I'll just import"

atharvmishra
Автор

Year 69420
Coding tutorial
How to create a virtual solar system inside a Notepad file 💀

Whatwillyoudowithmyname
Автор

Yoi Sir, are the lord of the CSS 👨‍💻💪

thomasedwardking
Автор

Birds in the background means you were coding all night long and that's already morning 😂

marcelofrazatto
Автор

code in case you need: <!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: black;
overflow: hidden;
}
.container {
font-size: 10px;
width: 40em;
height: 40em;
position: relative;
}
.sun {
position: absolute;
top: 15em;
left: 15em;
width: 10em;
height: 10em;
background-color: yellow;
border-radius: 50%;
box-shadow: 0 0 3em white;
}
.earth, .moon {
position: absolute;
border-style: solid;
border-color: white transparent transparent transparent;
border-width: 0.1em 0.1em 0 0;
border-radius: 50%;
}
.earth {
top: 5em;
left: 5em;
width: 30em;
height: 30em;
animation: orbit 36.5s linear infinite;
}
.moon {
top: 0;
right: 0;
width: 8em;
height: 8em;
animation: orbit 2.7s linear infinite;
}
.earth::before,
.moon::before {
content: '';
position: absolute;
border-radius: 50%;
}
.earth::before {
top: 2.8em;
right: 2.8em;
width: 3em;
height: 3em;
background-color: aqua;
}
.moon::before {
top: 0.8em;
right: 0.2em;
width: 1.2em;
height: 1.2em;
background-color: silver;
}
@keyframes orbit {
to {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="sun"></div>
<div class="earth">
<div class="moon"></div>
</div>
</div>
</body>
</html><!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: black;
overflow: hidden;
}
.container {
font-size: 10px;
width: 40em;
height: 40em;
position: relative;
}
.sun {
position: absolute;
top: 15em;
left: 15em;
width: 10em;
height: 10em;
background-color: yellow;
border-radius: 50%;
box-shadow: 0 0 3em white;
}
.earth, .moon {
position: absolute;
border-style: solid;
border-color: white transparent transparent transparent;
border-width: 0.1em 0.1em 0 0;
border-radius: 50%;
}
.earth {
top: 5em;
left: 5em;
width: 30em;
height: 30em;
animation: orbit 36.5s linear infinite;
}
.moon {
top: 0;
right: 0;
width: 8em;
height: 8em;
animation: orbit 2.7s linear infinite;
}
.earth::before,
.moon::before {
content: '';
position: absolute;
border-radius: 50%;
}
.earth::before {
top: 2.8em;
right: 2.8em;
width: 3em;
height: 3em;
background-color: aqua;
}
.moon::before {
top: 0.8em;
right: 0.2em;
width: 1.2em;
height: 1.2em;
background-color: silver;
}
@keyframes orbit {
to {
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="container">
<div class="sun"></div>
<div class="earth">
<div class="moon"></div>
</div>
</div>
</body>
</html>

FruitForge
Автор

Wow. As someone new to coding, that looks incredible! 😍

Firelight
Автор

Programming tutorial 1: What is HTML?
Programming tutorial 2: What is CSS?
Programming tutorial 3: Display an alert in javascript
Programming tutorial 4: How to use the DOM
Programming tutorial 5:

whydoesthisevenexist
Автор

Yes, I love programming, designs and graphics 🎉❤❤❤

khadijachafi
Автор

man really thought we didnt see him hide overflow💀😭

shinigmi
Автор

This is really cool. Great use of the animation props. So many nice features. Great work!

NiceChange