Solar System | HTML CSS

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • #shorts #html #css #tutorials #trending
    Source code: shorturl.at/awI02
    Sound effects from Pixabay.

Komentáře • 1,8K

  • @memerightsactivist7972
    @memerightsactivist7972 Před rokem +9664

    The birds represent that you stayed up all night again

    • @DigoTP_
      @DigoTP_ Před rokem +300

      When you're playing and you start listening to the birds 🥶

    • @dot90
      @dot90 Před rokem +13

      ​@@DigoTP_ 😂😂

    • @suham5132
      @suham5132 Před rokem +27

      @@kooramagic7742 he was being sarcastic

    • @kooramagic7742
      @kooramagic7742 Před rokem +4

      @@suham5132 I see

    • @claiverff5497
      @claiverff5497 Před rokem +1

      ​@@DigoTP_ 0000000

  • @dqsh
    @dqsh Před rokem +6087

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

  • @mattlau
    @mattlau Před 5 měsíci +552

    Inspiring me to get back to coding!

  • @chatebillychilima6762
    @chatebillychilima6762 Před rokem +2788

    This would be a cool loading screen animation

    • @krysti4366
      @krysti4366 Před rokem +85

      maybe a little bit faster i think

    • @___idk
      @___idk Před 9 měsíci +1

      yh

    • @hrizwaldieos8239
      @hrizwaldieos8239 Před 7 měsíci

      ​@@krysti4366depends on the system :P

    • @Magst3r1
      @Magst3r1 Před 6 měsíci +16

      I know you meant the actual animation, but what if a game actually had a loading screen of its code being written

    • @diezmondray2754
      @diezmondray2754 Před 6 měsíci +1

      Fr

  • @fuzzy-02
    @fuzzy-02 Před rokem +731

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

    • @sneksteppy
      @sneksteppy Před rokem +27

      It's literally not.

    • @rominarahbar2011
      @rominarahbar2011 Před rokem +19

      i totally agree!

    • @snarpis
      @snarpis Před rokem +51

      it seemed like magic to me as well few weeks ago lol but I learned that it's either basic or you can find the solution with reasearches if it's something a little bit more complex. Did you want to know how html and css work or you wanted him to explain this animation specifically ?

    • @ilikemyrecommandationsthew257
      @ilikemyrecommandationsthew257 Před rokem +21

      I started learning CSS yesterday and I understood most of it.

    • @snarpis
      @snarpis Před rokem +59

      @@ilikemyrecommandationsthew257 Understanding is good, but what we want is being able to repeat it (without the video is even better :)

  • @FruitForge
    @FruitForge Před rokem +150

    code in case you need:

    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);
    }
    }








    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);
    }
    }

  • @hvedits69
    @hvedits69 Před 5 měsíci +43

    Keyboard sound is soo satisfying

  • @EnesTheLeafeon
    @EnesTheLeafeon Před rokem +32

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

  • @KawazakiZedit
    @KawazakiZedit Před 10 měsíci +704

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

    • @smaransure2234
      @smaransure2234 Před 10 měsíci +3

      no, earth

    • @KawazakiZedit
      @KawazakiZedit Před 10 měsíci +16

      @@smaransure2234 that's good too but sun sounds a little better.

    • @smaransure2234
      @smaransure2234 Před 10 měsíci +1

      @@KawazakiZedit no earth bc that was the misconception back then earlier like 200 years ago

    • @smaransure2234
      @smaransure2234 Před 10 měsíci +1

      @@KawazakiZedit i meant sun revolving earth

    • @KawazakiZedit
      @KawazakiZedit Před 10 měsíci +9

      @@smaransure2234 bro , it's a joke.🥲

  • @BenandJacob
    @BenandJacob Před rokem +2271

    bro really coded earth 💀

    • @Mr.Classy2728
      @Mr.Classy2728 Před rokem +97

      Hence proved. We're in matrix 🗿 No questions please

    • @Mrmemestar2.o
      @Mrmemestar2.o Před rokem +15

      ​@@Mr.Classy2728 😂😂😂😂😂 bruuuuuuuuuh

    • @smallSphere69
      @smallSphere69 Před rokem

      ​@@Mr.Classy2728 yes I can confirm that you people are inside me.

    • @O_79
      @O_79 Před rokem +8

      wow so funny

    • @imidiot2515
      @imidiot2515 Před rokem +4

      I've coded mars💀

  • @souhardyaroy3709
    @souhardyaroy3709 Před rokem +2894

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

    • @muhammadazizfatxullayev1611
      @muhammadazizfatxullayev1611 Před rokem +19

      not,it is works

    • @Drinker424
      @Drinker424 Před rokem +31

      import something that doesn't exist

    • @majed1911
      @majed1911 Před 9 měsíci +53

      Import solar system
      Print(solar system+” is very big”)

    • @LeFrxgge
      @LeFrxgge Před 5 měsíci +2

      ​@@majed1911 hello I noticed an error in that code the output would be: solar systemis very big
      Way to fix: put a space after the quotation marks and before the is. Corrected output: solar system is very big

    • @majed1911
      @majed1911 Před 5 měsíci

      thanks grandma@@LeFrxgge

  • @whydoesthisevenexist
    @whydoesthisevenexist Před rokem +409

    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:

  • @vihungchu
    @vihungchu Před rokem +239

    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.

    • @harshittripathi11a58
      @harshittripathi11a58 Před rokem +23

      I tried to make something like this in Highschool when we were taught HTML and CSS. But I had no idea at that time how to do the rotation so I just left the project.

    • @hypersecret6288
      @hypersecret6288 Před rokem +8

      ​@@harshittripathi11a58 gg

    • @CromwellEdonis
      @CromwellEdonis Před 4 měsíci

      @@harshittripathi11a58 It seems we have a quitter here.

  • @anavaratha7020
    @anavaratha7020 Před měsícem +1

    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.

  • @Firelight7118
    @Firelight7118 Před rokem +18

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

  • @captheobbyist6434
    @captheobbyist6434 Před 4 měsíci +33

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

    • @SerhatAtayMD
      @SerhatAtayMD Před 4 měsíci +3

      The file path literally has “.autotype” lmao

  • @nextasy6979
    @nextasy6979 Před rokem +889

    man really styling in html bruh 💀

    • @vasiovasio
      @vasiovasio Před rokem

      Still not inline CSS... such a noob!!! 😂😂😂

    • @Loller271
      @Loller271 Před rokem +119

      Well it's very short so for informational purposes I don't hate it but still my web teacher would kill them

    • @tookenderthe2nd
      @tookenderthe2nd Před rokem +4

      @@vasiovasio wdym online css

    • @vasiovasio
      @vasiovasio Před rokem +10

      @@tookenderthe2nd inline! haha thanks to address this! The stupid autocorrect that ruins Everything! :)

    • @hussainabbastech
      @hussainabbastech Před rokem +8

      What is the issue in it ?

  • @atharvmishra2369
    @atharvmishra2369 Před 5 měsíci +100

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

    • @vanlalsiama507
      @vanlalsiama507 Před 5 měsíci +2

      There is no space modules lmao

    • @Jvxo
      @Jvxo Před 5 měsíci +4

      @@vanlalsiama507you definitely checked tho 🤣

  • @user-sz4iw9ls2o
    @user-sz4iw9ls2o Před rokem +2

    Wow! I'm really impressed with your work.

  • @thomasedwardking7286
    @thomasedwardking7286 Před rokem +129

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

    • @gustavo9758
      @gustavo9758 Před rokem +18

      This is good but it looks like you have not seen CSS Battle stuff (try some Kevin Powell)

    • @brainel3443
      @brainel3443 Před rokem

      swrz this is amazing

    • @redkay7969
      @redkay7969 Před rokem +4

      @@gustavo9758 i learned a lot from kevin powell but he is not even close to css masters
      he has teacher's level but not master
      i learned advanced css in other channels on youtube for instance there is an indian who is very talented in css i learned from him how to use an inline variable of style this trick improved my workflow

    • @erikjunior3643
      @erikjunior3643 Před rokem +2

      ​@@redkay7969 Man, I'm learning css and html from zero, who do you recommend me to learn about it on the internet? Im completely lost

    • @robinheyer708
      @robinheyer708 Před rokem +2

      @@erikjunior3643 Dave Gray tutorials are the best imo

  • @khadijachafi3080
    @khadijachafi3080 Před 7 měsíci +5

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

  • @Mamonymous
    @Mamonymous Před 5 měsíci +1

    You are an excellent designer.

  • @abu_bakar_prince
    @abu_bakar_prince Před 4 měsíci +2

    Amazing .... HTML & CSS

  • @NiceChange
    @NiceChange Před rokem +4

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

  • @mistafisha
    @mistafisha Před rokem +5

    animation: orbit seems to be the key piece here. Everything else is simply position, size, color and border radius. I didn't know that orbit was a parameter of animation! Cool!

  • @AdnanKhanAmin-o4r
    @AdnanKhanAmin-o4r Před 18 dny +1

    Weldone Sir G

  • @m12652
    @m12652 Před 2 měsíci +1

    Great music, nice code too 😀🤓

  • @SadiaOkoh
    @SadiaOkoh Před 8 měsíci +4

    That was the best animation I've seen in my life

  • @Being_m0tivated
    @Being_m0tivated Před 11 měsíci +5

    Dude you are master of front end

  • @md.arifulhaquebjoy6565
    @md.arifulhaquebjoy6565 Před 7 měsíci +13

    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);
    }
    }





    Well bro I have written your code for this solar system but it is not running as per you

    • @dazcode
      @dazcode Před 5 měsíci +1

      lol he literally typed the whole thing

  • @Nerolistique10
    @Nerolistique10 Před 2 měsíci +1

    Awesome 👏🏾

  • @iamkhenny_07
    @iamkhenny_07 Před 9 měsíci +1

    OMG 😱😳
    Nice work dude 😎

  • @marcelofrazatto9971
    @marcelofrazatto9971 Před 9 měsíci +57

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

  • @unknown0-0-0
    @unknown0-0-0 Před rokem +4

    I weirdly find it funny how there is so much coding done just for some simple movements and colors imagine a full game how much this would need

    • @whos.aspiire
      @whos.aspiire Před rokem

      actually a full game has less, due to game engines having many presets in code, like all the libraries and animations are there (some of them you might need to model)

  • @deepakpradhan827
    @deepakpradhan827 Před rokem +2

    YE BADHIYA THA GURU...

  • @AndromedaConcepts-pe5tg
    @AndromedaConcepts-pe5tg Před rokem +26

    Coding is fun. Just know the functions, arrays and syntax etc, you will do wonders.

  • @Whatwillyoudowithmyname
    @Whatwillyoudowithmyname Před rokem +719

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

    • @K--6
      @K--6 Před rokem +7

      😂😂😂

    • @akshay_m
      @akshay_m Před rokem +8

      Actually at that time it will be the entirety of existence with all of it's dimensions😂

    • @s0nycz3kk
      @s0nycz3kk Před rokem +3

      Notepad file ...

    • @zepedro6741
      @zepedro6741 Před rokem +5

      @@akshay_m or we would be extinct

    • @uhh315
      @uhh315 Před rokem +7

      Wdym?, you can really write this on notepad or even office word if you save it as html

  • @shadowrise8713
    @shadowrise8713 Před 5 dny +1

    Can I get a 10-hour version of this guy typing for me to fall asleep to?

  • @Tiles77
    @Tiles77 Před 5 měsíci +6

    #include
    using namespace std;
    class Square
    {
    int size;
    public:
    void set_size(int s);
    int get_size();
    int area() { return size * size; }
    };
    void Square::set_size(int s) { size = s; }
    int Square::get_size() { return size; }
    int main()
    {
    Square x;
    x.set_size(00);
    cout

  • @vladeyt8776
    @vladeyt8776 Před 7 měsíci +3

    started two days ago i understood some of it maybe for you its basic but im still dreaming about doing something like this my self (also its a nice animation keep grindin)

  • @xinitarchives
    @xinitarchives Před rokem +29

    The fact you did this without testing it out prior in between writing this is impressive on its own

    • @hosytaa6018
      @hosytaa6018 Před rokem +37

      He wrote the code then used a macro or something of the sort to have it rewrite the code for the video

    • @xinitarchives
      @xinitarchives Před rokem +2

      @@hosytaa6018 yeah true. Didn't think of that

    • @DANIEL-mh2ef
      @DANIEL-mh2ef Před rokem +1

      almsot as if he had the code ready...

    • @athiran5856
      @athiran5856 Před rokem

      ​@@hosytaa6018 what is macro?

    • @linminsu3443
      @linminsu3443 Před rokem +5

      ​@@athiran5856software that does actions for you. In this case it types out the program from a copy he made before

  • @byrononyango6571
    @byrononyango6571 Před 5 měsíci +1

    The sun element actually has a square shape. You need to set the border-radius to half of the sun's height and width, 5em, to make it circular.

  • @GBF10
    @GBF10 Před rokem +1

    You're amazing thank you hopefully to do more

  • @munawarkhan3857
    @munawarkhan3857 Před rokem +3

    You are absolutely PRO

  • @BePositiveDaily247
    @BePositiveDaily247 Před rokem +6

    I love it so much!! Thank you! I can finally be my computer teacher's pet now :>

  • @devdeclan
    @devdeclan Před 28 dny

    Amazing stuff man

  • @subalparamanik3006
    @subalparamanik3006 Před 5 měsíci

    Wow😮😮
    I copy your code and try this.
    It really works.❤❤❤

  • @carel-0510
    @carel-0510 Před rokem +3

    Es realmente impresionante, pero es sonido es muy relajante 😌❤

  • @HaroonCodes
    @HaroonCodes Před rokem +12

    God!, Ya Allah, this is so good....Ya Allah, thank you for granting him such level of knowledge in web development!❤

    • @omghorpade8802
      @omghorpade8802 Před rokem

      Al-lah hinself dont know the earths shapr and you say al-lah thanku for providing knowledge 🤣 stupid m-uslims

    • @mgames3209
      @mgames3209 Před rokem +1

      It’s aurotype

  • @Apricot90
    @Apricot90 Před rokem +1

    This was so satisfying to watch...

  • @syedaurwa3099
    @syedaurwa3099 Před rokem +1

    Wao amazing ✨

  • @naveensnr5027
    @naveensnr5027 Před 8 měsíci +4

    I try this code, successful got output ❤

  • @be_simple888
    @be_simple888 Před rokem +12

    you are so talented bro!!!

  • @mascot_vanipriya577
    @mascot_vanipriya577 Před rokem +1

    Bhor ? That early morning birds convo ❤at 4 am my fav ❤ nice work btw

  • @_Point
    @_Point Před rokem +47

    Don't thank me (i think i've made a few mistakes cause the render is not exactly like in the video):

    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.1
    em 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;
    left: 6.5em;
    width: 1.2em;
    height: 1.2em;
    background-color:
    silver;
    }
    @keyframes orbit {
    to {
    transform: rotate(
    360deg);
    }
    }

    • @learning-axis
      @learning-axis  Před rokem +7

      thanks😀

    • @thelaiq
      @thelaiq Před rokem +1

      Okay

    • @Ajay_Kumar9
      @Ajay_Kumar9 Před 11 měsíci

      ​@@learning-axisBhai Maine ye coding run ki aur 3 dabhe esse parkar ghum rahe thee par sun ,moon nahi tha please help

    • @learning-axis
      @learning-axis  Před 11 měsíci +2

      see code link in description @@Ajay_Kumar9

    • @vincentposcich8377
      @vincentposcich8377 Před 11 měsíci +3

      Change your .moon : : before left from 1.2 to 6.5

  • @RutviMistry-lt5lf
    @RutviMistry-lt5lf Před rokem +12

    Please show us hole screen so that we can also get lurned

    • @learning-axis
      @learning-axis  Před rokem +8

      I also provided a link in description you can get code from there. thank you.

    • @karansukarani2139
      @karansukarani2139 Před 9 měsíci +3

      Sir where I see description ?? 😢

  • @orsolyakantor7163
    @orsolyakantor7163 Před 11 dny +1

    thank you!

  • @tuaigetsdj3699
    @tuaigetsdj3699 Před 8 měsíci +2

    Wow 👍👍

  • @foreign-livingtheamericand8782

    just what i need, a child in a child👍

  • @DeepakSharma-oj1mk
    @DeepakSharma-oj1mk Před rokem +11

    Excellent work

  • @aliusman9693
    @aliusman9693 Před 7 měsíci +1

    Awesome ❤❤❤

  • @computerprogramonly
    @computerprogramonly Před 8 měsíci +1

    Maja a gaya 😮😮😮

  • @shinig3mi
    @shinig3mi Před rokem +31

    man really thought we didnt see him hide overflow💀😭

  • @zixu537
    @zixu537 Před rokem +4

    amazing its reALLy works

  • @biancapetreanu
    @biancapetreanu Před 4 měsíci

    What is this thingery? You left me speechless!!!!!!

  • @BhusanaKumar-wq5in
    @BhusanaKumar-wq5in Před 3 měsíci +1

    Wonderful even I will all start like

  • @rabekachittechitte23
    @rabekachittechitte23 Před rokem +3

    Wow🤞

  • @anuragpatil4073
    @anuragpatil4073 Před rokem +7

    Bro really coded the whole soar system. 😱

  • @viwezinja145
    @viwezinja145 Před 5 měsíci +2

    Awesome

  • @TechBox2026
    @TechBox2026 Před 18 dny

    Good ❤

  • @walidbinsiddik
    @walidbinsiddik Před rokem +4

    I like how the orbit keyword fits so perfectly

  • @subhrakarmakar6091
    @subhrakarmakar6091 Před rokem +2

    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: 11em;
    left: 10em;
    width: 10em;
    height: 10em;
    background-color:
    yellow;
    border-radius: 50%;
    box-shadow: 0.03em;
    white;
    }
    .earth,.moon {
    position: absolute;
    border-style: solid;
    border-color: pink;
    transparent
    transparent
    transparent;
    border-width:
    em 0.1 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;
    background-color: #34A56F;
    }
    .earth::before,
    .moon::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    }
    .earth::before,
    .moon::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    }
    .earth::before {
    top: 2.8em;
    right 2.8em;
    width: 3em;
    height: 3em;
    background-color: red;
    }
    body {
    /* padding:200px; */
    background:skyblue;
    }
    .content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding:300px;
    }
    .sun {
    display:inline-block;
    border-radius:50%;
    height:200px;
    width:200px;
    background:orange;
    box-shadow: 0 0 10px orange,
    0 0 60px orange,
    0 0 200px yellow,
    inset 0 0 80px yellow;
    z-index:12;
    align:center;
    z-index:-99;
    }
    .cloud {
    display:inline-block;
    background:white;
    width:120px;
    height:120px;
    border-radius:50%;
    position:relative;
    top:-30px;
    -webkit-filter: blur(6px);
    z-index:11;
    left:-50px;
    animation: 15000ms cloudAnimation linear infinite;
    opacity:0.76;
    }
    .moon::before {
    top: 0.8em;
    right: 0.2em;
    width: 1.2em;
    height: 1.2em;
    background-color:
    silver;
    }
    @keyframes orbit {
    to {
    transform:rotate(
    360deg);
    }
    }

  • @Plazix999
    @Plazix999 Před 7 měsíci +2

    I have no idea what he just did but it looked cool at the end

  • @user-mx5fm2sh1p
    @user-mx5fm2sh1p Před 5 měsíci

    wow that looks awesome bro good job, it was easier than I thought.

  • @MyDigitalHub
    @MyDigitalHub Před rokem +15

    Amazing work. Share the code. Thanks

  • @dragenoxinside
    @dragenoxinside Před rokem +25

    Mercury, Venus, Mars, Jupiter, Saturn, Uranus and Neptune have left the chat 🥺

  • @LDGROCKY
    @LDGROCKY Před 6 měsíci +1

    Very good i wan a try this

  • @magnosantosoficial9378
    @magnosantosoficial9378 Před rokem +4

    Very good😊

  • @waleedsalah1161
    @waleedsalah1161 Před rokem +3

    That's why I love Python

    • @Phoenix.Fire07
      @Phoenix.Fire07 Před rokem

      It's HTML with CSS 🙄

    • @chrisdawson3175
      @chrisdawson3175 Před rokem +6

      @@Phoenix.Fire07 Yes but with python this would have taken way less time, thats why he says he loves python

    • @waleedsalah1161
      @waleedsalah1161 Před rokem

      @@chrisdawson3175 Finally a smart person 💯

    • @DrFish547
      @DrFish547 Před rokem

      Python is slow, gotta go with C

    • @brandonjoaocastillo7490
      @brandonjoaocastillo7490 Před rokem

      How would you do it? I would like to see the actual code

  • @winkx2727
    @winkx2727 Před 7 měsíci +2

    Sesimpel itu hasilnya hehe

  • @thepsychosupersonicdiscopu4096
    @thepsychosupersonicdiscopu4096 Před 9 měsíci +1

    my fav programming language ❤

  • @maysonrider2687
    @maysonrider2687 Před 10 měsíci +5

    I was closed my eyes and was hearing Ants walking . Peace out ✌️😅

  • @royandescartes
    @royandescartes Před rokem +16

    i attempted this but my moon did not orbit the earth. it was orbiting the dark void of space. everything else worked nice. this was nice to try out and practice. just wish i could fix the moon oirbit

    • @amit_mukherjee1
      @amit_mukherjee1 Před rokem

      You just have to replace the moon position: absolute to relative moon {
      position: relative; and down you will see right: 0em; that you need to change to 2em;

    • @royandescartes
      @royandescartes Před rokem

      @@amit_mukherjee1 gonna try this thank you

    • @princegbagbar7793
      @princegbagbar7793 Před rokem

      You may of done something here

  • @parthverma724
    @parthverma724 Před rokem +2

    Nice skills coder!

  • @AmazingBuzzline
    @AmazingBuzzline Před 9 měsíci +1

    This is amazing 🙌🙌👍

  • @SareyFarah
    @SareyFarah Před 10 měsíci +3

    good but we need to watch as cool this vdio🙏

  • @MooTruth123
    @MooTruth123 Před rokem +5

    amazing bro❤

  • @Millionaire_track34
    @Millionaire_track34 Před 4 měsíci

    Majja agaya bidu it's work

  • @petronatech
    @petronatech Před 7 měsíci +2

    amazing!

  • @pcmb447
    @pcmb447 Před rokem +15

    Legend dont undersood anything still watching whole video

  • @SciencewithRishit
    @SciencewithRishit Před 11 měsíci +3

    **Satisfying**

  • @Imranist2024
    @Imranist2024 Před 4 měsíci

    Inspired❤❤

  • @Anand99947
    @Anand99947 Před 7 měsíci +2

    Wonderful

  • @Phoenix_Reaper
    @Phoenix_Reaper Před 11 měsíci +4

    What a speed of typing !!! omg

  • @dextergrahm2372
    @dextergrahm2372 Před rokem +3

    Wish I could type like that.

  • @DakuEdits1311
    @DakuEdits1311 Před 3 měsíci

    Thanks bro it was really helpful

  • @kingofthegoats7032
    @kingofthegoats7032 Před rokem +6

    Looks amazing hate it that it's not in a separate css file tho xD

    • @eksquirrel1879
      @eksquirrel1879 Před rokem +1

      Bro literally what I was thinking the whole time 😂

  • @Save_the_world_843
    @Save_the_world_843 Před 8 měsíci +3

    ❤❤❤

  • @shinecpsingh4636
    @shinecpsingh4636 Před rokem +1

    Beautiful ❤

  • @user-vn6eu7ok6s
    @user-vn6eu7ok6s Před 9 měsíci +1

    it is very good!!!