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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              <body>
<div class="container">
    <!--Sun-->
    <div id="sun"></div>

    <section id="bird-wrapper">
        <!--The bird-->
        <section id="bird">
            <div class="body">
                <div class="crest">
                    <span class="crest-1"></span>
                    <span class="crest-2"></span>
                </div>
                <div class="head">
                    <span class="eye"></span>
                    <div class="mouth">
                        <span class="peak-top"></span>
                        <span class="peak-bottom"></span>
                        <span class="nouse"></span>
                        <div class="fish">
                            <div class="fin-top"></div>
                            <span class="body-left"></span>
                            <span class="body-right"></span>
                            <div class="fin-bottom"></div>
                        </div>
                    </div>
                    <div class="head-lines">
                        <span class="head-line-1"></span>
                        <span class="head-line-2"></span>
                    </div>
                </div>
                <div class="chest"></div>
                <div class="feathers">
                    <span class="feather-1"></span>
                    <span class="feather-2"></span>
                    <span class="feather-3"></span>
                </div>
                <div class="wings">
                    <div class="wing-dots">
                        <div class="small dots-container">
                            <span class="small"></span>
                            <span class="small"></span>
                            <span class="small"></span>
                        </div>
                       <div class="big-dots-container">
                           <span class="big"></span>
                           <span class="big"></span>
                           <span class="big"></span>
                           <span class="big"></span>
                       </div>
                    </div>
                </div>

                <div class="legs"></div>
                <div class="feet">
                    <div class="toes"></div>
                </div>
            </div>
        </section>

        <!--Rock-->
        <div id="big-rock">
            <div class="rock-1"></div>
            <div class="rock-2"></div>
            <div class="rock-3"></div>

            <!--Rock grass-->
            <span class="rock-grass grass-1 left"></span>
            <span class="rock-grass grass-2 left"></span>
            <span class="rock-grass grass-3 left"></span>
            <span class="rock-grass grass-1 right"></span>
            <span class="rock-grass grass-2 right"></span>
            <span class="rock-grass grass-3 right"></span>
        </div>
    </section>
    <span class="grass"></span>
</div>
</body>
            
          
!
            
              * {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background: radial-gradient(at 76% 28%,#FFA100 -37%,#72FFF6 101%);
    height: 100%;
}
/*Colors*/
.grass {
    background: #7ebc6f;
}
.rock {
    background: #b1aaa4;
}

.head, .wings {
    background: #11b197;
}

.container {
    height: 510px;
    position: absolute;
    overflow: hidden;
    width: 100%;
    bottom: 0;
}

.container > .grass {
    position: absolute;
    bottom: 0;
    height: 5px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #67b65a;
}


#bird-wrapper {
    height: 510px;
    width: 765px;
    position: absolute;
    /* top: 0; */
    left: 50%;
    bottom: 0;
    margin-left: -334px;
}


/*--- Sun ---*/
#sun {
    position: fixed;
    right: 20%;
    top: 20%;
    height: 137px;
    width: 137px;
    background: #e86c48;
    border-radius: 50%;
    box-sizing: border-box;
    padding: 5px;
    border: 10px solid #efa588;
}


/*--- Bird ---*/
#bird {
    position: absolute;
    bottom: 45px;
    width: 433px;
    height: 306px;
    left: 148px;
}


.head {
    position: absolute;
    top: 7px;
    left: 110px;
    height: 80px;
    width: 107px;
    transform: rotate(43deg);
    border-radius: 63% 0 0 40%;
}

.head .eye {
    position: absolute;
    top: 31px;
    left: 20px;
    width: 9px;
    height: 9px;
    background: #3f2a27;
    border-radius: 50%;
}

.crest {
    position: absolute;
    top: 4px;
    left: 139px;
    height: 26px;
    width: 74px;
    border-top-left-radius: 18px;
    overflow: hidden;
}

.crest .crest-1,
.crest .crest-2 {
    position: absolute;
    height: 0;
    width: 0;
    border-color: #21957e transparent transparent transparent;
    border-style: solid;
    border-width: 14px 27px 0px 37px;
    z-index: -5;
    display: block;
}
.crest .crest-1 {
    left: 11px;
    top: 0px;
}

.crest .crest-2 {
    left: 11px;
    top: 12px;
}

.head .head-lines {
    position: absolute;
    top: 31px;
    left: 29px;
    height: 31px;
    width: 57px;
    transform: rotate(2deg);
}

.head-lines > span {
    display: block;
    width: 100%;
    height: 50%;
    border-radius: 60% 0 0 0;
    transform: skew(-20deg);
}

.head-lines .head-line-1 {
    background: white;
    margin-left: 19px;
}

.head-lines .head-line-2 {
    background: #e56d48;
    border-radius: 49% 0 0 0;
    margin-left: 3px;
}

.head .mouth {
    position: absolute;
    top: 55px;
    left: -93px;
    width: 140px;
    height: 100px;
    transform: rotate(-43deg);
}

.head .mouth .nouse {
    position: absolute;
    top: 33px;
    left: 101px;
    width: 0;
    height: 0;
    border-radius: 29%;
    border-right: 14px solid #5b4035;
    border-top: 4px solid transparent;
    border-bottom: 3px solid transparent;
    z-index: 10;
}

.head .mouth .peak-top {
    position: absolute;
    border-color: transparent #3e2b24 transparent transparent;
    border-style: solid;
    border-width: 16px 124px 4px 0px;
    transform: skew(24deg);
    top: 27px;
    left: 4px;
    z-index: 5;
}

.head .mouth .peak-bottom {
    position: absolute;
    border-color: transparent #5b4035 transparent transparent;
    border-style: solid;
    border-width: 0px 125px 19px 0px;
    transform: skew(-19deg);
    top: 46px;
    left: 4px;
    z-index: -1;
}

.head .mouth .fish {
    position: absolute;
    top: 37px;
    left: 47px;
    width: 47px;
    height: 67px;
}

.fish .body-left,
.fish .body-right {
    position: absolute;
    height: 0;
    width: 0;
    border-bottom-width: 0;
    border-style: solid;
}

.fish .body-left {
    border-width: 57px 0px 0px 20px;
    top: 3px;
    left: 5px;
    border-color: #b1aaa4 transparent;
}

.head .mouth .fish:before,
.head .mouth .fish:after {
    position: absolute;
        content: "";
        width: 0;
        height: 0;
        z-index: 20;
}

.head .mouth .fish:after {
    height: 11px;
    width: 34px;
    background: #412925;
    transform: rotate(144deg);
    left: -3px;
    top: 55px;
    border-radius: 0 0 100% 0px;
}

.head .mouth .fish:before {
    height: 11px;
    width: 34px;
    background: #412925;
    transform: rotate(221deg);
    left: 17px;
    top: 56px;
    border-radius: 0 0 0 100%;
}

.fish .fin-top {
    height: 10px;
    width: 28px;
    background: #412925;
    transform: rotate(-99deg);
    left: 29px;
    top: 10px;
    border-radius: 0 0 0 100%;
    position: absolute;
}

.fish .fin-bottom {
    height: 10px;
    width: 28px;
    background: #412925;
    transform: rotate(100deg);
    left: -9px;
    top: 10px;
    border-radius: 0 0 100% 0;
    position: absolute;
    z-index: -1;
}



.fish .body-right {
    border-width: 57px 20px 0px 0px;
    top: 3px;
    left: 24px;
    border-color: #9f9a94 transparent;
}

.wings {
    border-radius: 511px 0 1600px 355px / 511px 0 800px 332px;
    width: 276px;
    height: 120px;
    position: absolute;
    top: 108px;
    left: 141px;
    transform:rotate(51deg) skew(-6deg);
    border-style:solid;
    border-color: #21957e;
    border-width: 0px 10px 13px 0px;
}

.wings .wing-dots {
    position: absolute;
    top: 7px;
    width: 149px;
    height: 44px;
    left: 35px;
    text-align: center;
}

.wings .wing-dots span {
    display: inline-block;
    border-radius: 50%;
    background: #20967e;
}
.wings span.small {
    width: 8px;
    height: 8px;
    margin: 0 11px;
}
.wings span.big {
    width: 10px;
    height: 10px;
    margin: 0 11px;
}



.feathers {
    width: 160px;
    height: 160px;
    position: absolute;
    top: 147px;
    left: 281px;
}

.feathers > span {
    position: absolute;
    background: #3e2b25;
}

.feathers .feather-1 {
    width: 100px;
    height: 60px;
    border-bottom-right-radius: 100%;
    left: 30px;
    top: 33px;
}

.feathers .feather-2,
.feathers .feather-3 {
    height: 45px;
    width: 127px;
    transform: rotate(54deg);
    border-radius: 0 0 149% 0px / 0 0 146% 13px;
}

.feathers .feather-2 {
    top: 75px;
    left: 28px;
}

.feathers .feather-3 {
    top: 83px;
    left: -5px;
    height: 30px;
    width: 100px;
}

.legs {
    position: absolute;
    top: 161px;
    height: 92px;
    width: 100px;
    background: #cc694a;
    left: 230px;
    transform: skewX(-12deg) rotate(43deg);
    z-index: -2;
}

.feet {
    position: absolute;
    top: 284px;
    left: 226px;
    width: 50px;
    height: 8px;
    background: #3e2d25;
    z-index: -5;
    transform: rotate(-44deg);
}

.feet .toes {
    width: 95px;
    height: 6px;
    background: #3e2d25;
    transform: rotate(58deg);
    position: absolute;
    top: -5px;
    left: -52px;
}

.toes:before {
    content: "";
    position: absolute;
    left: -8px;
    height: 10px;
    width: 10px;
    top: 4px;
    background: transparent;
    border-radius: 50%;
    box-shadow: -1px -4px 0px black;
}

.toes:after {
    content: "";
    position: absolute;
    right: -3px;
    height: 10px;
    width: 10px;
    top: 4px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 3px -3px 0px black;
}

.chest {
    position: absolute;
    width: 245px;
    height: 123px;
    background: #E86C48;
    border-radius: 50% 100% 0 0;
    z-index: -1;
    left: 136px;
    top: 108px;
    border-radius: 520px 0 1600px 1158px / 520px 0 1600px 903px;
    transform: rotate(48deg);
}





/*--- Rock ---*/
#bird-wrapper #big-rock {
    position: absolute;
    bottom: 0;
    width: 276px;
    height: 75px;
    left: 50%;
    margin-left: -153px;
}

#big-rock .rock-1 {
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-bottom: 13px solid #b1aaa4;
    position: relative;
    top: 25px;
    left: 73px;
    border-top: 0;
}

#big-rock .rock-2 {
    position: absolute;
    top: 31px;
    width: 50px;
    height: 50px;
    transform: skew(39deg);
    left: 39px;
    border-left: 10px solid #8D8C89;
    background: #B1AAA4;
}

#big-rock .rock-2:before {
    content: "";
    position: absolute;
    left: -49px;
    height: 20px;
    width: 40px;
    background: #8D8C89;
    top: 19px;
    border-top: 4px solid #B1AAA4;
}

#big-rock .rock-2:after {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    top: 6px;
    left: 86px;
    border-style: solid;
    border-width: 0 47px 35px 53px;
    border-color: #8D8C89 transparent;
}

#big-rock .rock-1:before {
    content: "";
    position: absolute;
    border: 39px solid transparent;
    border-bottom: 20px solid #8D8C89;
    top: -48px;
    left: -81px;
    transform: rotate(-14deg);
}

#big-rock .rock-1:after {
    content: '';
    position: absolute;
    left: -50px;
    top: 13px;
    width: 0;
    height: 0;
    border: 50px solid transparent;
    border-top: 70px solid #b1aaa4;
}

#big-rock .rock-grass {
    border-color: transparent transparent #7ebc6f transparent;
    border-style: solid;
    width: 0;
    height: 0;
    border-width: 0 13px 80px 13px;
    display: block;
    position: absolute;
}

#big-rock .rock-grass.left {
    transform: rotate(-41deg);
}

#big-rock .rock-grass.right {
    transform: rotate(41deg);
}

#big-rock .grass-1 {
    top: 13px;
}

#big-rock .grass-1.left {
    left: -17px;
}

#big-rock .grass-1.right {
    right: -17px;
}

#big-rock .grass-2 {
    top: 10px;
    border-width: 0px 12px 80px 12px;
}

#big-rock .grass-2.left {
    left: -41px;
}

#big-rock .grass-2.right {
    right: -41px;
}

#big-rock .grass-3 {
    top: 33px;
    border-width: 0 7px 80px 12px;
}

#big-rock .grass-3.left {
    left: -39px;
}

#big-rock .grass-3.right {
    right: -39px;
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console