cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div class="galaxy">
        <div class='sun'></div>
        <div class='mercury-track'></div>
        <div class='mercury'></div>
        <div class='venus-track'></div>
        <div class='venus'></div>
        <div class='earth-track'></div>
        <div class='earth'></div>
        <div class='mars-track'></div>
        <div class='mars'></div>
        <div class='jupiter-track'></div>
        <div class='jupiter'></div>
        <div class='saturn-track'></div>
        <div class='saturn'></div>
        <div class='uranus-track'></div>
        <div class='uranus'></div>
        <div class='pluto-track'></div>
        <div class='pluto'></div>
    background: black;

    width: 1300px;
    height: 1300px;   
    position: relative;

.galaxy div{
    position: absolute;

    border: 1px solid #555;
    margin-left: -3px;
    margin-top: -3px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013205656257-1729257972.png) 0 0 no-repeat;
    width: 100px;
    height: 100px;
    left: 600px;
    top: 600px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013205828679-1300811025.png) 0 0 no-repeat;
    width: 50px;
    height: 50px;
    left: 700px;
    top: 625px;
    transform-origin: -50px 25px;
    animation: rotation 2.4s linear infinite;

    width: 150px;
    height: 150px;
    left: 575px;
    top: 575px; 
    border-radius: 75px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013205908382-878096313.png) 0 0 no-repeat;
    width: 60px;
    height: 60px;
    left: 750px;
    top: 620px;
    animation: rotation 6.16s linear infinite;
    transform-origin: -100px 30px;

    width: 260px;
    height: 260px;
    left: 520px;
    top: 520px;
    border-radius: 130px;
    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013205943538-1279197333.png) 0 0 no-repeat;
    width: 60px;
    height: 60px;
    top: 620px;
    left: 805px;
    animation: rotation 10s linear infinite;
    transform-origin: -155px 30px;

    width: 370px;
    height: 370px;
    border-radius: 185px;
    left: 465px;
    top: 465px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013210013101-347441696.png) 0 0 no-repeat;
    width: 50px;
    height: 50px;
    top: 625px;
    left: 865px;
    animation: rotation 19s linear infinite;
    transform-origin: -215px 25px;

    width: 480px;
    height: 480px;
    border-radius: 240px;
    left: 410px;
    top: 410px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013210021944-1129782361.png) 0 0 no-repeat;
    width: 80px;
    height: 80px;
    top: 610px;
    left: 920px;
    animation: rotation 118s linear infinite;
    transform-origin: -270px 40px;

    border-radius: 310px;
    width: 620px;
    height: 620px;
    left: 340px;
    top: 340px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013210041710-1584827250.png) 0 0 no-repeat;
    width: 120px;
    height: 80px;
    top: 610px;
    left: 1000px;
    animation: rotation 295s linear infinite;
    transform-origin: -350px 40px;

    border-radius: 410px;
    width: 820px;
    height: 820px;
    left: 240px;
    top: 240px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013210048304-974518986.png) 0 0 no-repeat;
    width: 80px;
    height: 80px;
    top: 610px;
    left: 1120px;
    animation: rotation 840s linear infinite;
    transform-origin: -470px 40px;

    border-radius: 510px;
    width: 1020px;
    height: 1020px;
    top: 140px;
    left: 140px;

    background: url(http://images2015.cnblogs.com/blog/818663/201510/818663-20151013210116038-1431613611.png) 0 0 no-repeat;
    width: 70px;
    height: 70px;
    top: 615px;
    left: 1210px;
    animation: rotation 1648s linear infinite;
    transform-origin: -560px 35px;

    border-radius: 595px;
    width: 1190px;
    height: 1190px;
    left: 55px;
    top: 55px;

@keyframes rotation{
        transform: rotate(360deg);

Loading ..................