Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <body>

    <div class="artboard">

        <svg id="SMIL" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 382"><style>.st0{fill:none;stroke:none;} .st1{fill:#35394E;}</style>
            
            <path id="motionPath" class="st0" d="M0 262.7s25-52 105-38 53 18 178 24 184-170 33-160c-187.6 12.4 18 191 130 138s108.6-80 182.6-109 84.4 12 84.4 12"/>
            <path id="plane" transform="translate(-71.8, -150.2)" class="st1" d="M71.8 150.2c0-.7-.9-1.4-2.3-1.7.1-.6.2-1.5.2-2.5 0-1.7-.2-3.1-.6-3.1-.4 0-.6 1.4-.6 3.1 0 1 .1 1.8.2 2.4h-.8v.8h-.5v-2.5c0-1.1-.9-1.9-1.9-1.9h-3.2v3.3h-.6v-3h-5.1l.6-3.9h1.7c3.7 0 2-.9 1.1-1.2-1-.3-1.7-.3-4.2-.4-2.6-.1-7.8 1-8.3 1.3-.6.3.2.3.2.3h2.6l-.6 4h-1.2c-.5-.6-1.4-1.7-2.6-2.1l-.2-.1-.6 2.3c-2.5 2.7-8 0-8 0l-10 .5c-3.5-9.6-7.7-8.9-7.7-8.9v6.3h-.7v-6.4c-2.2.3-4.8 3.3-4.9 8-.2 4.8 4.9 5.4 4.9 5.4v-5.4h.5v5.6c.3.1.6.3 1 .4l-.3.7c-.1 0-.3-.1-.4-.1-.7 0-1.3.6-1.3 1.3s.6 1.3 1.3 1.3c.7 0 1.3-.6 1.3-1.3 0-.1 0-.3-.1-.4l2.3-.7c3.8 1 9 2.1 11.4 2.5 3.6.6 10.6.9 10.6.9h7.7l1.9 3.1c-1.1.8-1.7 2.2-1.6 3.3h.6c-.1-.9.4-2 1.3-2.7l.3.5c-.8.6-1.4 1.6-1.4 2.8 0 1.9 1.6 3.5 3.5 3.5s3.5-1.6 3.5-3.5c0-1.7-1.3-3.2-2.9-3.4v-.5c1.4.3 2.3 1.1 2.3 1.1l.5-.4c-.1-.1-1.1-1.1-2.7-1.4v-2.3h3.7v-3.5h.6v3.9h3.2c1.1 0 1.9-.9 1.9-1.9V151h.5v1.1h.8c-.1.6-.2 1.4-.2 2.4 0 1.7.2 3.1.6 3.1.4 0 .6-1.4.6-3.1 0-1-.1-1.9-.2-2.5 1.3-.5 2.3-1.1 2.3-1.8z"/>
            
            <animateMotion xlink:href="#plane" dur="10s" begin="0s" rotate="auto" repeatCount="1">
            <mpath xlink:href="#motionPath"/>
            </animateMotion>
                    
        </svg>
        <div class="sea">
            <div class="waves">
                <div class="wave"></div>
                <div class="wave"></div>
                <div class="wave"></div>
                <div class="wave"></div>
                <div class="wave"></div>
                <div class="wave"></div>
            </div>
        </div>

        <div class="cloud" id="cloud1"></div>
        <div class="cloud" id="cloud2"></div>

        <div class="sun"></div>
        <div class="light"></div>

        <div class="night">
            <div class="moon">
                <div class="crater"></div>
                <div class="crater"></div>
                <div class="crater"></div>
            </div>

            <div class="stars">
                <div class="star"></div>
                <div class="star"></div>
                <div class="star"></div>
                <div class="star"></div>
                <div class="star"></div>
            </div>
        </div>


        <svg id="pier-container" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 436.2 239.4">
            
            <path class="windows" d="M140.8 79.3c-.5 0-.9.4-.9.9V85c0 .5.4.9.9.9s.9-.4.9-.9v-4.7c.1-.6-.3-1-.9-1zm5 6.6c.5 0 .9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9s-.9.4-.9.9V85c0 .5.4.9.9.9zm-.9 2.4h4.9v10.9h-4.9V88.3zm-7.1-2.4c.5 0 .9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9s-.9.4-.9.9V85c0 .5.4.9.9.9zm-8.6 39.8c-.4 0-.8.3-.8.8v5.4c0 .4.3.8.8.8s.8-.3.8-.8v-5.4c-.1-.5-.4-.8-.8-.8zm7.7-37.4h4.9v10.9h-4.9V88.3zm11.9-9c-.5 0-.9.4-.9.9V85c0 .5.4.9.9.9s.9-.4.9-.9v-4.7c.1-.6-.3-1-.9-1zm33.8 80.4h2.3v5.5h-2.3v-5.5zm-27.1-21h24.9v15.6h-24.9v-15.6zm27.1-49.1h2.3v64.7h-2.3V89.6zm-27.1 70.1h24.9v5.5h-24.9v-5.5zM128 144.3l-13.7.6c-.3 0-.6.3-.6.6s.3.6.6.6l13.7-.6c.3 0 .6-.3.6-.6s-.3-.6-.6-.6z"/>
            <circle class="windows" cx="165.4" cy="115.7" r="5.4"/>
            <path class="windows" d="M113.9 129.5c0-.4-.3-.8-.8-.8s-.8.3-.8.8v5.4c0 .4.3.8.8.8s.8-.3.8-.8v-5.4zm69.8-46.8c-.6-.2-1.2-.4-1.7-.6.5.1 1.1.3 1.7.6zM256 94.6l7.7.1-7.7-.1zm-54.7-7.9c-3.5 1.2-5.3 2.6-5.3 2.6 1.7-1 3.5-1.9 5.3-2.6zm-15.7-3.2c5.8 2.5 9.8 5.4 10.4 5.9-3.2-2.6-6.8-4.6-10.4-5.9zm-61.4 50.1c.4 0 .8-.3.8-.8v-5.4c0-.4-.3-.8-.8-.8s-.8.3-.8.8v5.4c0 .4.3.8.8.8z"/>
            <ellipse class="windows" cx="100.1" cy="126" rx="1.7" ry="2.7"/>
            <path class="windows" d="M119.2 134.6c.4 0 .8-.3.8-.8v-5.4c0-.4-.3-.8-.8-.8s-.8.3-.8.8v5.4c0 .4.3.8.8.8zm-10.1 10.1l-49.8 2.1c-.4 0-.7.4-.7.8s.4.7.8.7l49.8-2.1c.4 0 .7-.4.7-.8s-.4-.7-.8-.7z"/>
            <ellipse class="windows" cx="86.5" cy="127" rx="1.7" ry="2.7"/>
            <ellipse class="windows" cx="76.1" cy="128.4" rx="1.7" ry="2.1"/>
            <path class="windows" d="M282.8 138.7h23.4v15.6h-23.4v-15.6zM308 88.4h4.9v10.9H308V88.4zm1-2.4c.5 0 .9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9s-.9.4-.9.9v4.7c-.1.5.3.9.9.9zm-26.2 73.7h23.4v5.5h-23.4v-5.5z"/>
            <path class="bar" d="M287.2 98.8V82.4c-65.8-13.8-128.5-.7-128.5-.7"/>
            <circle class="windows" cx="290.4" cy="115.7" r="5.4"/>
            <path class="windows" d="M277.5 98.6h2.3v55.6h-2.3V98.6zM312 79.4c-.5 0-.9.4-.9.9V85c0 .5.4.9.9.9s.9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9zm-34.5 80.3h2.3v5.5h-2.3v-5.5z"/>
            <path class="sign" d="M202.3 82.7h-4.6v-.6c.1 0 .3 0 .6-.1.2 0 .4-.1.5-.1.2-.1.3-.2.3-.3.1-.1.1-.3.1-.5v-8.9c0-.2 0-.4-.1-.5-.1-.1-.2-.2-.4-.3-.1-.1-.3-.1-.5-.2s-.4-.1-.5-.1v-.6h4.6v.5c-.2 0-.3 0-.5.1-.2 0-.4.1-.5.1-.2.1-.3.2-.4.3s-.1.3-.1.5v9c0 .2 0 .4.1.5.1.1.2.3.4.4.1 0 .3.1.5.2s.4.1.6.1v.5zM213.6 77.8c-.1 0-.3 0-.5.1-.2 0-.4.1-.5.2-.1.1-.2.2-.3.4s-.1.3-.1.5v2.9c-.6.3-1.3.6-1.9.8-.6.2-1.3.3-1.9.3-.7 0-1.3-.1-1.9-.4-.6-.3-1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-.5 0-.9.4-.9.9V85c0 .5.4.9.9.9s.9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9zm-3 6.6c.5 0 .9-.4.9-.9v-4.7c0-.5-.4-.9-.9-.9s-.9.4-.9.9v4.7c-.1.5.3.9.9.9zm-1 2.4h4.9v10.9H316V88.4zm-70.1 7.7h2.3v58.2h-2.3V96.1zm-31.7 63.6h2.3v5.5h-2.3v-5.5z"/>
            <circle class="windows" cx="198.4" cy="115.7" r="5.4"/>
            <path class="windows" d="M219.5 159.7h23.4v5.5h-23.4v-5.5zm-5.3-70.1h2.3v64.7h-2.3V89.6zm-26.3 70.1h23.4v5.5h-23.4v-5.5zm0-21h23.4v15.6h-23.4v-15.6zm31.6 0h23.4v15.6h-23.4v-15.6zm31.7 21h23.4v5.5h-23.4v-5.5z"/>
            <circle class="windows" cx="260.4" cy="115.7" r="5.4"/>
            <path class="windows" d="M251.2 138.7h23.4v15.6h-23.4v-15.6zm-5.3 21h2.3v5.5h-2.3v-5.5z"/>
            <path class="pier" d="M255.2 101.6v1.5h.8v-1.5h-.8z"/>
            <path class="sign" d="M186.1 79c.3.3.6.7.7 1.2.2.5.3 1.1.3 1.9 0 .7-.1 1.4-.3 1.9s-.5 1-.8 1.4c-.3.3-.7.6-1.1.8-.4.2-.8.3-1.3.3h-4.9v-.8c.1 0 .3 0 .5-.1.2 0 .4-.1.5-.2.2-.1.3-.2.3-.4s.1-.4.1-.7V72.7c0-.3 0-.5-.1-.7-.1-.2-.2-.4-.3-.5-.1-.1-.3-.2-.5-.3-.2-.1-.3-.1-.5-.1v-.8h4.8c.4 0 .7.1 1.1.2.3.1.7.3 1 .6.3.3.5.6.7 1.1.2.5.3 1 .3 1.6 0 .6-.1 1.1-.2 1.5-.1.4-.3.8-.6 1.1-.2.3-.5.6-.8.8-.3.2-.6.4-.9.5v.1c.3.1.6.2 1 .3s.8.5 1 .9zm-1.7-2.5c.2-.3.3-.7.4-1.1s.1-.8.1-1.4c0-.9-.2-1.6-.5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3-.4c-.1-.1-.3-.1-.5-.2-.2 0-.4-.1-.5-.1v-.7h4.8c.4 0 .8.1 1.2.2.4.1.7.3 1 .6.3.2.5.6.7 1 .2.4.3.9.3 1.5 0 .5-.1 1-.2 1.4-.1.4-.3.7-.5 1-.2.3-.5.5-.8.7-.3.2-.6.4-1 .5.5.9.9 1.6 1.3 2.2.3.6.8 1.3 1.2 2.2.2.4.4.7.6.8.2.2.3.3.5.4.1.1.3.1.5.2s.3.1.5.1v.7zm-3.8-9.9c0-.8-.2-1.4-.5-1.9-.4-.5-.9-.7-1.5-.7h-1.2v5.7h1c.7 0 1.2-.3 1.7-.8s.5-1.4.5-2.3z"/>
          </svg>

    </div>

</body>

              
            
!

CSS

              
                body {
    margin: 0;
    padding: 0;
}

html {
    background: #35394E;
}

#SMIL {
    position: absolute;
    width: 100%;
    top: -9%;
    z-index: 999999;
}

.mo-path {
    fill: none;
    stroke: none;
}

.artboard {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 10rem auto;
    border-radius: 50%;
    border: solid white 5px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgb(183, 205, 220) 0%, rgba(183, 205, 220, 1) 23%, rgba(231, 151, 139, 1) 42%, rgba(24, 24, 53, 1) 80%, rgba(24, 24, 53, 1) 100%);
    background-size: 400%;
    animation: gradient 30s ease infinite alternate;
}

@keyframes gradient {
    0% {
        background-position: top;
    }
    50% {
        background-position: center;
    }
    100% {
        background-position: bottom;
    }
}


/* SEA START */

.sea {
    background: #b7cddc;
    position: absolute;
    height: 20%;
    width: 100%;
    top: 80%;
    z-index: 4;
    overflow: hidden;
    animation: sea 30s ease-in-out infinite alternate;
}

@keyframes sea {
    from {
        background: #A7BFCF;
    }
    to {
        background: #181835;
    }
}

.waves {
    position: absolute;
    filter: blur(2px);
    top: -30px;
    left: 50%;
}

.wave {
    position: absolute;
    width: 220px;
    height: 40px;
    margin-left: -110px;
    background: #FFFEEE;
    border-radius: 100%;
}

.wave:nth-child(2) {
    animation: wave 8s infinite linear 2s;
}

.wave:nth-child(3) {
    animation: wave 8s infinite linear 4s;
}

.wave:nth-child(4) {
    animation: wave 8s infinite linear 6s;
}

.wave:nth-child(5) {
    animation: wave 8s infinite linear 8s;
}

@keyframes wave {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(30px) scale(0.3);
    }
    100% {
        transform: translateY(50px) scale(0);
    }
}


/* SEA END */


/* PIER START */

#pier-container {
    position: absolute;
    width: 80%;
    bottom: 20%;
    right: 0;
    z-index: 3;
}

.windows {
    fill: #fff;
  animation: windows 30s ease-in-out infinite alternate;
}

@keyframes windows {
  0% {
    fill: none;
  }
  74% {
    fill: none;
  }
  75% {
    fill: #fff;
  }
}

.sign {
    fill: #00FFCC;
    stroke: #00FFCC;
    stroke-width: .5;
  animation: sign .5s linear infinite;
}

@keyframes sign {
  0%{
    fill: #00FFCC;
    stroke: #00FFCC;
  }
  10% {
    fill: #fff;
    stroke: #fff;
  }
  25% {
    fill: #00FFCC;
    stroke: #00FFCC;
  }
  30% {
    fill: #fff;
    stroke: #fff;
  }
  40% {
    fill: #fff;
    stroke: #fff;
  }
  
}



.pier {
    fill: #3A3F60;
    animation: pier 30s ease-in-out infinite alternate;
}

@keyframes pier {
    from {
        fill: #606079;
    }
    to {
        fill: #181835;
    }
}

.bar {
    fill: none;
    stroke: #3A3F60;
    stroke-width: 2;
    stroke-miterlimit: 10;
}




/* PIER END */


/* CLOUDS START */

.cloud {
    position: absolute;
    z-index: 4;
    width: 175px;
    height: 60px;
    background: #F5F5F5;
    border-radius: 100px;
    opacity: 0.2;
}

#cloud1 {
    top: 38%;
    left: -2%;
    animation: float 3s linear infinite alternate;
}

#cloud2 {
    top: 24%;
    left: 73%;
    animation: float 3s linear infinite 1s alternate;
}

@keyframes float {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(40%);
    }
}

.cloud:before {
    content: ' ';
    position: absolute;
    background: #F5F5F5;
    width: 90px;
    height: 90px;
    top: -57%;
    right: 32%;
    border-radius: 100%;
}

.cloud:after {
    content: '';
    position: absolute;
    background: #F5F5F5;
    border-radius: 100%;
    width: 90px;
    height: 76px;
    top: -37%;
    right: 15%;
}


/* CLOUDS END */


/* SUN START */

.sun {
    z-index: 1;
    position: absolute;
    top: 17%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin-left: -75px;
    background: #FFFEEE;
    border-radius: 100%;
    box-shadow: 0 0 0 17px rgba(255, 255, 255, 0.42), 0 0 0 37px rgba(252, 229, 215, 0.5), 0 0 60px 60px rgba(255, 215, 155, 0.5), 0 0 60px 37px rgba(255, 255, 255, 0.5);
    animation: sun 30s ease-in-out infinite alternate;
}

@keyframes sun {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(300px);
        box-shadow: 0 0 36px 60px rgba(255, 218, 139, 0.3);
    }
    100% {
        transform: translateY(1000px);
        box-shadow: none;
    }
}


/* SUN END */


/* SUNSET START */

.light {
    position: absolute;
    top: 30%;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-image: radial-gradient(circle, rgba(163, 73, 144, 0.7), rgba(0, 0, 0, 0) 70%);
    border-radius: 100%;
    animation: glow 30s ease infinite alternate;
}

@keyframes glow {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}


/* SUNSET END */


/* NIGHT SCENE START */

.moon {
    z-index: 1;
    position: absolute;
    top: 17%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 0 60px 17px rgba(255, 255, 255, 0.5);
}

.crater {
    position: absolute;
    background: #E0E0E0;
    border-radius: 100%;
    width: 10%;
    height: 10%;
}

.crater:nth-child(1) {
    top: 25%;
    left: 25%;
}

.crater:nth-child(2) {
    top: 43%;
    left: 15%;
    transform: scale(1.2)
}

.crater:nth-child(3) {
    top: 45%;
    left: 39%;
    transform: scale(1.3)
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 37%;
    left: 31%;
}

.star::before,
.star::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 3px rgba(255, 255, 255, 0.15);
    animation: sparkle 1s ease-in-out infinite alternate;
}

.star::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.star::before {
    transform: translate(-50%, -50%);
}

.star:nth-child(2) {
    top: 20%;
    left: 23%;
    transform: scale(1.4);
}

.star:nth-child(3) {
    top: 28%;
    left: 64%;
    transform: scale(0.7);
}

.star:nth-child(4) {
    top: 9%;
    left: 59%;
    transform: scale(1.5);
}

.star:nth-child(5) {
    top: 19%;
    left: 77%;
}

@keyframes sparkle {
    from {
        height: 10px;
    }
    to {
        height: 3px;
    }
}

.night {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    animation: night 30s ease infinite alternate;
}

@keyframes night {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* NIGHT SCENE END */
              
            
!

JS

              
                //made for a codebar Brighton workshop.
//chrome/desktop friendly. 
              
            
!
999px

Console