Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                .content
        .world
            .sky
                .sun
                .stars
                .stars2
                .stars3

            .earth
                .real
                    .mountains
                        .m1
                        .m1Shadow
                        -   for (val = 2; val < 6; ++val)
                                div(class="m"+val)
                                div(class="m"+val+"Shadow")
                    .lake
                    .islandShadow1
                    .islandShadow2
                    .island
                        .surface
                            .part1
                            .part2
                            .part3
                        .trees
                            .tree1
                                -    for (val = 1; val < 12; ++val)
                                        div(class="leaf"+val)
                            .tree2
                                -    for (val = 1; val < 12; ++val)
                                        div(class="leaf"+val)
                    .boat
                    .human
                .reflection
                    .boat
                    .human
                    .islandGlow
                    .islandR
                        .islandShadow1
                        .islandShadow2
                        .island
                            .surface
                                .part1
                                .part2
                                .part3
                            .trees
                                .tree1
                                    -    for (val = 1; val < 12; ++val)
                                            div(class="leaf"+val)
                                .tree2
                                    -    for (val = 1; val < 12; ++val)
                                            div(class="leaf"+val)
              
            
!

CSS

              
                $dark: #5C5A5A;
$worldHeight: 600px;
$worldWidth: 800px;
@mixin border() {
    border: 1px solid $dark;
}

@mixin mountains() {
    height: 0px;
    width: 0px;
    position: absolute;
}

@function doDiv($num1, $num2) {
    @return $num1 / $num2;
}

@function GenerateStars($n) {
    $value: '#{random(2000)}px #{random(2000)}px #FFF';
    @for $i from 2 through $n {
        $value: '#{$value} , #{random(2000)}px #{random(2000)}px #FFF';
    }
    @return unquote($value);
}

$StarsSmall: GenerateStars(700);
$StarsMed: GenerateStars(200);
$StarsBig: GenerateStars(100);
body {
    background-color: #212121;
}

.world {
    width: $worldWidth;
    height: $worldHeight;
    margin: doDiv(-$worldHeight, 2) 0 0 doDiv(-$worldWidth, 2);
    top: 50%;
    position: absolute;
    left: 50%;
    @include border();
    background-color: #fff;
    overflow: hidden;
}

.sky {
    background: linear-gradient(to bottom, RGBA(62, 141, 133, 0.4) 2%, #B5D5C8 20%, #F9F9E0);
    height: $worldHeight - 165px;
}

.sun {
    border-radius: 50%;
    border-color: RGBA(245, 245, 208, 0.87);
    border-width: 50px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.05) inset, 0px 0px 100px rgba(255, 255, 255, 0.3);
    width: 110px;
    height: 110px;
    background-color: RGBA(245, 245, 208, 0.87);
    position: absolute;
    margin-left: 175px;
    margin-top: 30px;
    z-index: 500;
}

.stars {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: $StarsSmall;
    animation: animStar 50s linear infinite;
    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 1px;
        height: 1px;
        background: transparent;
        box-shadow: $StarsSmall;
    }
}

.stars2 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: $StarsMed;
    animation: animStar 100s linear infinite;
    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 2px;
        height: 2px;
        background: transparent;
        box-shadow: $StarsMed;
    }
}

.stars3 {
    width: 4px;
    height: 4px;
    background: transparent;
    box-shadow: $StarsBig;
    animation: animStar 150s linear infinite;
    &:after {
        content: " ";
        position: absolute;
        top: 2000px;
        width: 3px;
        height: 3px;
        background: transparent;
        box-shadow: $StarsBig;
    }
}

.earth {
    height: 120px;
    margin-top: -120px;
}

.real {
    height: inherit;
    .mountains {
        height: 240px;
        position: relative;
        //@include border();
        .m1 {
            border-top: 120px solid transparent;
            box-shadow: inset 0 1px 0 0 red;
            border-left: 75px solid RGB(234, 223, 191);
            border-bottom: 120px solid transparent;
            @include mountains();
            z-index: 30;
            filter: drop-shadow(150px -50px 50px rgb(255, 255, 255));
        }
        .m1Shadow {
            border-top: 120px solid transparent;
            border-left: 125px solid RGBA(234, 214, 177, 0.93);
            border-bottom: 120px solid transparent;
            @include mountains();
            z-index: 29;
        }
        .m2 {
            border: 70px solid transparent;
            border-bottom: 50px solid RGB(234, 223, 191);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 400px;
            -ms-transform: rotate(90deg);
            /* IE 9 */
            -webkit-transform: rotate(90deg);
            /* Chrome, Safari, Opera */
            transform: rotate(90deg);
            z-index: 28;
            margin-top: 60px;
            &:after {
                content: '';
                position: absolute;
                left: -70px;
                top: 50px;
                width: 0;
                height: 0;
                border: 70px solid transparent;
                border-top: 760px solid RGB(234, 223, 191);
                z-index: 28;
            }
        }
        .m2Shadow {
            border: 70px solid transparent;
            border-bottom: 120px solid RGBA(234, 214, 177, 0.93);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 435px;
            -ms-transform: rotate(90deg);
            /* IE 9 */
            -webkit-transform: rotate(90deg);
            /* Chrome, Safari, Opera */
            transform: rotate(90deg);
            z-index: 27;
            margin-top: 25px;
        }
        .m3 {
            border: 70px solid transparent;
            border-bottom: 20px solid RGB(234, 223, 191);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 540px;
            -ms-transform: rotate(90deg);
            /* IE 9 */
            -webkit-transform: rotate(90deg);
            /* Chrome, Safari, Opera */
            transform: rotate(90deg);
            z-index: 26;
            margin-top: 75px;
            filter: drop-shadow(-70px -30px 110px rgba(0, 0, 0, 0.31));
            &:after {
                content: '';
                position: absolute;
                left: -70px;
                top: 20px;
                width: 0;
                height: 0;
                border: 70px solid transparent;
                border-top: 150px solid RGB(234, 223, 191);
                z-index: 26;
            }
        }
        .m3Shadow {
            border: 70px solid transparent;
            border-bottom: 50px solid RGBA(234, 214, 177, 0.93);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 555px;
            -ms-transform: rotate(90deg);
            /* IE 9 */
            -webkit-transform: rotate(90deg);
            /* Chrome, Safari, Opera */
            transform: rotate(90deg);
            z-index: 25;
            margin-top: 60px;
        }
        .m4 {
            border: 50px solid transparent;
            border-bottom: 20px solid RGB(234, 223, 191);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 520px;
            -ms-transform: rotate(270deg);
            /* IE 9 */
            -webkit-transform: rotate(270deg);
            /* Chrome, Safari, Opera */
            transform: rotate(270deg);
            z-index: 24;
            margin-top: 85px;
            &:after {
                content: '';
                position: absolute;
                left: -50px;
                top: 20px;
                width: 0;
                height: 0;
                border: 50px solid transparent;
                border-top: 80px solid RGB(234, 223, 191);
                z-index: 24;
            }
        }
        .m4Shadow {
            border: 50px solid transparent;
            border-bottom: 20px solid RGBA(234, 214, 177, 0.93);
            position: relative;
            @include mountains();
            z-index: 2;
            margin-left: 520px;
            -ms-transform: rotate(270deg);
            /* IE 9 */
            -webkit-transform: rotate(270deg);
            /* Chrome, Safari, Opera */
            transform: rotate(270deg);
            z-index: 23;
            margin-top: 85px;
        }
        .m4Shadow:after {
            content: '';
            position: absolute;
            left: -50px;
            top: 20px;
            width: 0;
            height: 0;
            border: 50px solid transparent;
            border-top: 120px solid RGBA(234, 214, 177, 0.93);
            z-index: 23;
        }
        .m5 {
            border-top: 120px solid transparent;
            border-left: 200px solid RGB(234, 223, 191);
            border-bottom: 120px solid transparent;
            @include mountains();
            z-index: 22;
            -ms-transform: rotate(180deg);
            /* IE 9 */
            -webkit-transform: rotate(180deg);
            /* Chrome, Safari, Opera */
            transform: rotate(180deg);
            right: 0;
            position: absolute;
            filter: drop-shadow(40px 20px 100px rgb(255, 252, 252));
        }
    }
    .lake {
        height: 300px;
        background: linear-gradient(to bottom, RGBA(131, 174, 145, 0.8) 10%, RGBA(60, 111, 38, 0.3));
        margin-top: -120px;
        z-index: 51;
        position: relative;
    }
    .islandShadow1 {
        border: 120px solid transparent;
        border-bottom: 40px solid RGBA(191, 89, 50, 0.31);
        border-right: 40px solid transparent;
        z-index: 50;
        position: absolute;
        margin-left: 180px;
        top: 275px;
    }
    .islandShadow2 {
        border: 120px solid transparent;
        border-bottom: 60px solid RGBA(191, 89, 50, 0.31);
        border-left: 40px solid transparent;
        z-index: 50;
        position: absolute;
        margin-left: 130px;
        top: 256px;
    }
    .island {
        width: 0;
        height: 0;
        border: 120px solid transparent;
        border-bottom: 60px solid #E5987A;
        border-left: 40px solid transparent;
        margin-top: -480px;
        z-index: 50;
        position: absolute;
        margin-left: 170px;
        .surface {
            .part1 {
                width: 40px;
                height: 60px;
                background-color: RGBA(142, 172, 114, 0.83);
                transform-style: preserve-3d;
                transform: rotateX(70deg) rotateY(0deg) rotateZ(53deg);
                margin-top: -17px;
                margin-left: -25px;
                position: absolute;
            }
            .part2 {
                width: 40px;
                height: 100px;
                background-color: RGBA(142, 172, 114, 0.9);
                transform-style: preserve-3d;
                transform: rotateX(70deg) rotateY(0deg) rotateZ(145deg);
                margin-top: -24px;
                margin-left: 15px;
                position: absolute;
            }
            .part3 {
                width: 40px;
                height: 30px;
                background-color: RGBA(142, 172, 114, 0.87);
                transform-style: preserve-3d;
                transform: rotateX(70deg) rotateY(0deg) rotateZ(50deg);
                margin-top: 14px;
                margin-left: 55px;
                position: absolute;
            }
        }
        .trees {
            .tree1 {
                width: 120px;
                height: 50px;
                position: absolute;
                margin-left: -100px;
                margin-top: -75px;
                border-top: 8px solid #F2BFA9;
                transform: rotateX(180deg)rotateZ(100deg);
                border-top-left-radius: 5px;
                border-top-right-radius: 120px 35px;
                z-index: 1;
                .leaf1 {
                    width: 0;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 25px solid RGBA(150, 165, 92, 0.67);
                    border-left: 25px solid transparent;
                    margin-top: -60px;
                    z-index: 50;
                    position: relative;
                    margin-left: 85px;
                    transform: rotateZ(50deg);
                }
                .leaf2 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 25px solid RGBA(150, 165, 92, 0.72);
                    border-left: 25px solid transparent;
                    margin-top: -40px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 115px;
                    transform: rotateZ(95deg);
                }
                .leaf3 {
                    width: 0;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 15px solid #ADCDAD;
                    border-left: 15px solid transparent;
                    margin-top: -27px;
                    z-index: 0;
                    position: absolute;
                    margin-left: 125px;
                    transform: rotateZ(120deg);
                }
                .leaf4 {
                    width: 0;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 20px solid RGBA(150, 165, 92, 0.9);
                    border-left: 25px solid transparent;
                    margin-top: -5px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 125px;
                    transform: rotateZ(155deg);
                }
                .leaf5 {
                    width: 0;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 25px solid RGBA(157, 182, 60, 0.4);
                    border-left: 25px solid transparent;
                    margin-top: -5px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 120px;
                    transform: rotateZ(155deg);
                }
                .leaf6 {
                    width: 10px;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 15px solid RGBA(170, 187, 129, 0.9);
                    border-left: 25px solid rgba(161, 42, 42, 0);
                    margin-top: 20px;
                    z-index: 51;
                    position: absolute;
                    margin-left: 95px;
                    transform: rotateZ(200deg);
                }
                .leaf7 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 20px solid #AAC5A2;
                    border-left: 45px solid transparent;
                    margin-top: 15px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 105px;
                    transform: rotateZ(80deg) rotateY(180deg);
                }
                .leaf8 {
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-bottom: 15px solid RGBA(153, 176, 92, 0.71);
                    border-left: 35px solid transparent;
                    margin-top: 20px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 100px;
                    transform: rotateZ(95deg) rotateY(180deg);
                }
                .leaf9 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 20px solid #AAC5A2;
                    border-left: 45px solid transparent;
                    margin-top: 25px;
                    z-index: 49;
                    position: absolute;
                    margin-left: 75px;
                    transform: rotateZ(130deg) rotateY(180deg);
                }
                .leaf10 {
                    width: 0;
                    height: 0;
                    border: 50px solid transparent;
                    border-bottom: 20px solid #A1BC9A;
                    border-left: 25px solid transparent;
                    margin-top: 15px;
                    z-index: 49;
                    position: absolute;
                    margin-left: 55px;
                    transform: rotateZ(170deg) rotateY(180deg);
                }
                .leaf11 {
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-bottom: 10px solid #839266;
                    border-left: 25px solid transparent;
                    margin-top: 20px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 90px;
                    transform: rotateZ(130deg) rotateY(180deg);
                }
            }
            .tree2 {
                width: 90px;
                height: 50px;
                position: absolute;
                margin-left: 40px;
                margin-top: -40px;
                border-top: 8px solid #F2BFA9;
                transform: rotateX(0deg) rotateZ(-80deg);
                border-top-left-radius: 5px;
                border-top-right-radius: 122px 35px;
                z-index: 1;
                .leaf1 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 15px solid RGBA(150, 165, 92, 0.67);
                    border-left: 15px solid transparent;
                    margin-top: -40px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 70px;
                    transform: rotateZ(50deg);
                }
                .leaf2 {
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-bottom: 15px solid RGBA(150, 165, 92, 0.72);
                    border-left: 15px solid transparent;
                    margin-top: -20px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 90px;
                    transform: rotateZ(95deg);
                }
                .leaf3 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 10px solid #ADCDAD;
                    border-left: 5px solid transparent;
                    margin-top: -5px;
                    z-index: 0;
                    position: absolute;
                    margin-left: 95px;
                    transform: rotateZ(130deg);
                }
                .leaf4 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 10px solid RGBA(150, 165, 92, 0.9);
                    border-left: 15px solid transparent;
                    margin-top: 2px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 95px;
                    transform: rotateZ(155deg);
                }
                .leaf5 {
                    width: 0;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 15px solid RGBA(157, 182, 60, 0.4);
                    border-left: 15px solid transparent;
                    margin-top: 2px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 95px;
                    transform: rotateZ(155deg);
                }
                .leaf6 {
                    width: 5px;
                    height: 0;
                    border: 30px solid transparent;
                    border-bottom: 15px solid RGBA(170, 187, 129, 0.9);
                    border-left: 15px solid rgba(161, 42, 42, 0);
                    margin-top: 15px;
                    z-index: 51;
                    position: absolute;
                    margin-left: 90px;
                    transform: rotateZ(180deg);
                }
                .leaf7 {
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-bottom: 15px solid #AAC5A2;
                    border-left: 35px solid transparent;
                    margin-top: 20px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 85px;
                    transform: rotateZ(80deg) rotateY(180deg);
                }
                .leaf8 {
                    width: 0;
                    height: 0;
                    border: 15px solid transparent;
                    border-bottom: 15px solid RGBA(153, 176, 92, 0.71);
                    border-left: 25px solid transparent;
                    margin-top: 17px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 80px;
                    transform: rotateZ(95deg) rotateY(180deg);
                }
                .leaf9 {
                    width: 0;
                    height: 0;
                    border: 20px solid transparent;
                    border-bottom: 15px solid #AAC5A2;
                    border-left: 35px solid transparent;
                    margin-top: 25px;
                    z-index: 49;
                    position: absolute;
                    margin-left: 58px;
                    transform: rotateZ(130deg) rotateY(180deg);
                }
                .leaf10 {
                    width: 0;
                    height: 0;
                    border: 40px solid transparent;
                    border-bottom: 12px solid #A1BC9A;
                    border-left: 15px solid transparent;
                    margin-top: 15px;
                    z-index: 49;
                    position: absolute;
                    margin-left: 45px;
                    transform: rotateZ(170deg) rotateY(180deg);
                }
                .leaf11 {
                    width: 0;
                    height: 0;
                    border: 10px solid transparent;
                    border-bottom: 10px solid #96AE8E;
                    border-left: 25px solid transparent;
                    margin-top: 20px;
                    z-index: 50;
                    position: absolute;
                    margin-left: 68px;
                    transform: rotateZ(130deg) rotateY(180deg);
                }
            }
        }
    }
    .boat {
        width: 40px;
        border-top: 15px solid #B65F79;
        border-left: 12px solid transparent;
        border-right: 7px solid transparent;
        position: absolute;
        z-index: 50;
        margin-top: -312px;
        margin-left: 410px;
        transform: rotateZ(7deg);
    }
    .human {
        border-bottom: 15px solid #80445B;
        border-left: 10px solid transparent;
        margin-top: -324px;
        margin-left: 440px;
        transform: rotateZ(-8deg);
        position: absolute;
        z-index: 49;
        &:after {
            content: '';
            width: 5px;
            height: 5px;
            background-color: #80445B;
            position: absolute;
            transform: rotateZ(32deg);
            margin-left: -5px;
            margin-top: -1.1px;
        }
    }
}

.reflection {
    .boat {
        width: 40px;
        border-top: 15px solid #B65F79;
        border-left: 12px solid transparent;
        border-right: 7px solid transparent;
        position: absolute;
        z-index: 50;
        margin-top: -4px;
        margin-left: 411px;
        transform: rotateZ(0deg) rotateX(180deg);
    }
    .human {
        border-bottom: 15px solid #80445B;
        border-left: 10px solid transparent;
        margin-top: 8px;
        margin-left: 440px;
        transform: rotateZ(0deg) rotateX(180deg);
        position: absolute;
        z-index: 49;
        &:after {
            content: '';
            width: 5px;
            height: 5px;
            background-color: #80445B;
            position: absolute;
            transform: rotateZ(32deg);
            margin-left: -5px;
            margin-top: -1.1px;
        }
    }
    .islandGlow {
        width: 800px;
        height: 500px;
        position: absolute;
        z-index: 40;
        margin-left: 0px;
        box-shadow: inset 10px 100px 1000px 0px rgba(177, 255, 183, 0.39);
        &:after {
            content: ' ';
            width: 210px;
            height: 500px;
            position: absolute;
            z-index: 40;
            margin-left: 130px;
            box-shadow: 10px 100px 10000px 0px rgb(77, 144, 15);
        }
    }
    .islandR {
        position: absolute;
        .islandShadow1 {
            border: 120px solid transparent;
            border-bottom: 40px solid RGBA(191, 89, 50, 0.31);
            border-right: 40px solid transparent;
            z-index: 50;
            position: absolute;
            margin-left: 180px;
            transform: rotateX(180deg);
        }
        .islandShadow2 {
            border: 120px solid transparent;
            border-bottom: 60px solid RGBA(191, 89, 50, 0.31);
            border-left: 40px solid transparent;
            z-index: 50;
            position: absolute;
            margin-left: 130px;
            transform: rotateX(180deg);
        }
        .island {
            width: 0;
            height: 0;
            border: 120px solid transparent;
            border-bottom: 60px solid #E5987A;
            border-left: 40px solid transparent;
            opacity: 0.5;
            z-index: 50;
            position: absolute;
            margin-left: 170px;
            transform: rotateX(180deg);
            .surface {
                .part1 {
                    width: 40px;
                    height: 60px;
                    background-color: RGBA(142, 172, 114, 0.83);
                    transform-style: preserve-3d;
                    transform: rotateX(70deg) rotateY(0deg) rotateZ(53deg);
                    margin-top: -17px;
                    margin-left: -25px;
                    position: absolute;
                }
                .part2 {
                    width: 40px;
                    height: 100px;
                    background-color: RGBA(142, 172, 114, 0.9);
                    transform-style: preserve-3d;
                    transform: rotateX(70deg) rotateY(0deg) rotateZ(145deg);
                    margin-top: -24px;
                    margin-left: 15px;
                    position: absolute;
                }
                .part3 {
                    width: 40px;
                    height: 30px;
                    background-color: RGBA(142, 172, 114, 0.87);
                    transform-style: preserve-3d;
                    transform: rotateX(70deg) rotateY(0deg) rotateZ(50deg);
                    margin-top: 14px;
                    margin-left: 55px;
                    position: absolute;
                }
            }
            .trees {
                .tree1 {
                    width: 120px;
                    height: 50px;
                    position: absolute;
                    margin-left: -100px;
                    margin-top: -75px;
                    border-top: 8px solid #F2BFA9;
                    transform: rotateX(180deg)rotateZ(100deg);
                    border-top-left-radius: 5px;
                    border-top-right-radius: 120px 35px;
                    z-index: 1;
                    .leaf1 {
                        width: 0;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 25px solid RGBA(150, 165, 92, 0.67);
                        border-left: 25px solid transparent;
                        margin-top: -60px;
                        z-index: 50;
                        position: relative;
                        margin-left: 85px;
                        transform: rotateZ(50deg);
                    }
                    .leaf2 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 25px solid RGBA(150, 165, 92, 0.72);
                        border-left: 25px solid transparent;
                        margin-top: -40px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 115px;
                        transform: rotateZ(95deg);
                    }
                    .leaf3 {
                        width: 0;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 15px solid #ADCDAD;
                        border-left: 15px solid transparent;
                        margin-top: -27px;
                        z-index: 0;
                        position: absolute;
                        margin-left: 125px;
                        transform: rotateZ(120deg);
                    }
                    .leaf4 {
                        width: 0;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 20px solid RGBA(150, 165, 92, 0.9);
                        border-left: 25px solid transparent;
                        margin-top: -5px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 125px;
                        transform: rotateZ(155deg);
                    }
                    .leaf5 {
                        width: 0;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 25px solid RGBA(157, 182, 60, 0.4);
                        border-left: 25px solid transparent;
                        margin-top: -5px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 120px;
                        transform: rotateZ(155deg);
                    }
                    .leaf6 {
                        width: 10px;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 15px solid RGBA(170, 187, 129, 0.9);
                        border-left: 25px solid rgba(161, 42, 42, 0);
                        margin-top: 20px;
                        z-index: 51;
                        position: absolute;
                        margin-left: 95px;
                        transform: rotateZ(200deg);
                    }
                    .leaf7 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 20px solid #AAC5A2;
                        border-left: 45px solid transparent;
                        margin-top: 15px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 105px;
                        transform: rotateZ(80deg) rotateY(180deg);
                    }
                    .leaf8 {
                        width: 0;
                        height: 0;
                        border: 20px solid transparent;
                        border-bottom: 15px solid RGBA(153, 176, 92, 0.71);
                        border-left: 35px solid transparent;
                        margin-top: 20px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 100px;
                        transform: rotateZ(95deg) rotateY(180deg);
                    }
                    .leaf9 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 20px solid #AAC5A2;
                        border-left: 45px solid transparent;
                        margin-top: 25px;
                        z-index: 49;
                        position: absolute;
                        margin-left: 75px;
                        transform: rotateZ(130deg) rotateY(180deg);
                    }
                    .leaf10 {
                        width: 0;
                        height: 0;
                        border: 50px solid transparent;
                        border-bottom: 20px solid #A1BC9A;
                        border-left: 25px solid transparent;
                        margin-top: 15px;
                        z-index: 49;
                        position: absolute;
                        margin-left: 55px;
                        transform: rotateZ(170deg) rotateY(180deg);
                    }
                    .leaf11 {
                        width: 0;
                        height: 0;
                        border: 20px solid transparent;
                        border-bottom: 10px solid #839266;
                        border-left: 25px solid transparent;
                        margin-top: 20px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 90px;
                        transform: rotateZ(130deg) rotateY(180deg);
                    }
                }
                .tree2 {
                    width: 90px;
                    height: 50px;
                    position: absolute;
                    margin-left: 40px;
                    margin-top: -40px;
                    border-top: 8px solid #F2BFA9;
                    transform: rotateX(0deg) rotateZ(-80deg);
                    border-top-left-radius: 5px;
                    border-top-right-radius: 122px 35px;
                    z-index: 1;
                    .leaf1 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 15px solid RGBA(150, 165, 92, 0.67);
                        border-left: 15px solid transparent;
                        margin-top: -40px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 70px;
                        transform: rotateZ(50deg);
                    }
                    .leaf2 {
                        width: 0;
                        height: 0;
                        border: 20px solid transparent;
                        border-bottom: 15px solid RGBA(150, 165, 92, 0.72);
                        border-left: 15px solid transparent;
                        margin-top: -20px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 90px;
                        transform: rotateZ(95deg);
                    }
                    .leaf3 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 10px solid #ADCDAD;
                        border-left: 5px solid transparent;
                        margin-top: -5px;
                        z-index: 0;
                        position: absolute;
                        margin-left: 95px;
                        transform: rotateZ(130deg);
                    }
                    .leaf4 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 10px solid RGBA(150, 165, 92, 0.9);
                        border-left: 15px solid transparent;
                        margin-top: 2px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 95px;
                        transform: rotateZ(155deg);
                    }
                    .leaf5 {
                        width: 0;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 15px solid RGBA(157, 182, 60, 0.4);
                        border-left: 15px solid transparent;
                        margin-top: 2px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 95px;
                        transform: rotateZ(155deg);
                    }
                    .leaf6 {
                        width: 5px;
                        height: 0;
                        border: 30px solid transparent;
                        border-bottom: 15px solid RGBA(170, 187, 129, 0.9);
                        border-left: 15px solid rgba(161, 42, 42, 0);
                        margin-top: 15px;
                        z-index: 51;
                        position: absolute;
                        margin-left: 90px;
                        transform: rotateZ(180deg);
                    }
                    .leaf7 {
                        width: 0;
                        height: 0;
                        border: 20px solid transparent;
                        border-bottom: 15px solid #AAC5A2;
                        border-left: 35px solid transparent;
                        margin-top: 20px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 85px;
                        transform: rotateZ(80deg) rotateY(180deg);
                    }
                    .leaf8 {
                        width: 0;
                        height: 0;
                        border: 15px solid transparent;
                        border-bottom: 15px solid RGBA(153, 176, 92, 0.71);
                        border-left: 25px solid transparent;
                        margin-top: 17px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 80px;
                        transform: rotateZ(95deg) rotateY(180deg);
                    }
                    .leaf9 {
                        width: 0;
                        height: 0;
                        border: 20px solid transparent;
                        border-bottom: 15px solid #AAC5A2;
                        border-left: 35px solid transparent;
                        margin-top: 25px;
                        z-index: 49;
                        position: absolute;
                        margin-left: 58px;
                        transform: rotateZ(130deg) rotateY(180deg);
                    }
                    .leaf10 {
                        width: 0;
                        height: 0;
                        border: 40px solid transparent;
                        border-bottom: 12px solid #A1BC9A;
                        border-left: 15px solid transparent;
                        margin-top: 15px;
                        z-index: 49;
                        position: absolute;
                        margin-left: 45px;
                        transform: rotateZ(170deg) rotateY(180deg);
                    }
                    .leaf11 {
                        width: 0;
                        height: 0;
                        border: 10px solid transparent;
                        border-bottom: 10px solid #96AE8E;
                        border-left: 25px solid transparent;
                        margin-top: 20px;
                        z-index: 50;
                        position: absolute;
                        margin-left: 68px;
                        transform: rotateZ(130deg) rotateY(180deg);
                    }
                }
            }
        }
    }
}

@keyframes animStar {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}
              
            
!

JS

              
                // NO JAVASCRIPT THIS TIME OF SEASON! 
              
            
!
999px

Console