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 id="bear">
            <div class="ears">
                <div class="ear1">
                    <div class="inner_ear"></div>
                </div>
                <div class="ear2">
                    <div class="inner_ear"></div>
                </div>
            </div>
            <div id="head">
                <div class="eyes">
                    <div class="eye1">
                        <div class="eyeball1"></div>
                    </div>
                    <div class="eye2">
                        <div class="eyeball2"></div>
                    </div>
                </div>
                <div class="muzzle">
                    <div class="nose"></div>
                    <div class="mouth"></div>
                </div>
            </div>
            <div class="hands">
                <div class="hand1"></div>
                <div class="hand2"></div>
            </div>
            <div id="belly">
                <div class="belly_inner1"></div>
                <div class="belly_inner2"></div>
            </div>
            <div class="legs">
                <div class="leg1">
                    <div class="foot"></div>
                </div>
                <div class="leg2">
                    <div class="foot"></div>
                </div>
            </div>
        </div>
            
          
!
            
              /**********************************************
                BEAR
**********************************************/
#bear {
    text-align: center;
    margin: 10px auto;
    width: 500px;
    position: relative;
    left:20px;
}

/*HEAD*/
#head {
    border-radius: 50%;
    width: 200px;
    height:170px;
    background: rgb(232,165,84); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(232,165,84,1) 40%, rgba(219,145,74,1) 99%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,rgba(232,165,84,1)), color-stop(99%,rgba(219,145,74,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(232,165,84,1) 40%,rgba(219,145,74,1) 99%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(232,165,84,1) 40%,rgba(219,145,74,1) 99%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(232,165,84,1) 40%,rgba(219,145,74,1) 99%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(232,165,84,1) 40%,rgba(219,145,74,1) 99%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8a554', endColorstr='#db914a',GradientType=0 ); /* IE6-9 */
    position: relative;
    z-index:10;
    top: 15px;
}

/*Ears*/
.ears {
    position: relative;
    z-index:1;
    width:200px;
}
.ear1, .ear2 {
    border-radius: 50%;
    width: 80px;
    height:80px;
    background-color: pink;
    position: relative;
    background: rgb(239,199,103); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(239,199,103,1) 0%, rgba(202,124,58,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(239,199,103,1)), color-stop(100%,rgba(202,124,58,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(239,199,103,1) 0%,rgba(202,124,58,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(239,199,103,1) 0%,rgba(202,124,58,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(239,199,103,1) 0%,rgba(202,124,58,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(239,199,103,1) 0%,rgba(202,124,58,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efc767', endColorstr='#ca7c3a',GradientType=0 ); /* IE6-9 */
}

.inner_ear {
    bottom: 16px;
    height: 50px;
    position: absolute;
    right: 13px;
    width: 50px;
    border-radius: 50%;
    background: rgb(151,93,45); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(151,93,45,1) 0%, rgba(111,67,38,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(151,93,45,1)), color-stop(100%,rgba(111,67,38,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(151,93,45,1) 0%,rgba(111,67,38,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(151,93,45,1) 0%,rgba(111,67,38,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(151,93,45,1) 0%,rgba(111,67,38,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(151,93,45,1) 0%,rgba(111,67,38,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#975d2d', endColorstr='#6f4326',GradientType=0 ); /* IE6-9 */
}

.ear2, .leg1 {
    float: right;
}
.ear1, .leg2 {
    float: left;
}

/*Eyes*/
.eye1, .eye2 {
    border-radius: 50%;
    background: rgb(226,160,76); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(226,160,76,1) 0%, rgba(239,175,88,1) 99%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(226,160,76,1)), color-stop(99%,rgba(239,175,88,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(226,160,76,1) 0%,rgba(239,175,88,1) 99%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(226,160,76,1) 0%,rgba(239,175,88,1) 99%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(226,160,76,1) 0%,rgba(239,175,88,1) 99%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(226,160,76,1) 0%,rgba(239,175,88,1) 99%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2a04c', endColorstr='#efaf58',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    width:50px;
    height:70px;
    display: inline-block;
    position:absolute;
    top:-43px;
    left: 42px;
}

.eyes {
    position: relative;
    width:110px;

}
.eye1 {
    position: relative;
    transform:rotate(-25deg);
    -ms-transform:rotate(-25deg); /* IE 9 */
    -webkit-transform:rotate(-25deg); /* Safari and Chrome */
    float: left;
}
.eye1:before, .eye2:before {
    border-top: 5px solid #89542A;
    border-radius: 20px 20px 0 0;
    content: "";
    display: block;
    height: 20px;
    width: 49px;
}

.eye2 {
    position: relative;
    transform:rotate(25deg);
    -ms-transform:rotate(25deg); /* IE 9 */
    -webkit-transform:rotate(25deg); /* Safari and Chrome */
    float: right;
}

.eyeball1, .eyeball2 {
    background: rgb(153,86,44); /* Old browsers */
    background: -moz-linear-gradient(45deg,  rgba(153,86,44,1) 10%, rgba(109,70,39,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left bottom, right top, color-stop(10%,rgba(153,86,44,1)), color-stop(100%,rgba(109,70,39,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(45deg,  rgba(153,86,44,1) 10%,rgba(109,70,39,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(45deg,  rgba(153,86,44,1) 10%,rgba(109,70,39,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(45deg,  rgba(153,86,44,1) 10%,rgba(109,70,39,1) 100%); /* IE10+ */
    background: linear-gradient(45deg,  rgba(153,86,44,1) 10%,rgba(109,70,39,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99562c', endColorstr='#6d4627',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 50%;
    height: 20px;
    position: relative;
    width: 20px;
}

.eyeball1 {
    left: 12px;
    top: 17px;
}
.eyeball1:before, .eyeball2:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background-color: #FFFFFF;
    position: relative;
    top: 3px;
    width: 8px;
}
.eyeball2 {
    left: 17px;
    top: 17px;
}

/*Muzzle*/
.muzzle {
    background-color: #E5CA9D;
    border-radius: 50%;
    display: block;
    height: 54px;
    left: 54px;
    position: relative;
    top: 103px;
    width: 84px;
}

.nose {
    background-color: #6A4528;
    border-radius: 70% / 70% 70% 131% 131%;
    height: 36px;
    width: 58px;
    position:relative;
    left:12px;
}

.mouth {
    border-bottom: 2px solid #78421c;
    border-radius: 0 0 90px 90px;
    height: 20px;
    left: 12px;
    position: relative;
    top: -10px;
    width: 60px;
}
.nose:after {
    background-color: #FF0000;
    content: "";
    display: block;
    height: 14px;
    left: 27px;
    position: relative;
    top: 34px;
    width: 2px;
    background-color:  #78421c;
}



/*BELLY*/
#belly {
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    width: 200px;
    height:200px;
    background: rgb(211,132,66); /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  rgba(211,132,66,1) 48%, rgba(183,91,38,1) 99%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(48%,rgba(211,132,66,1)), color-stop(99%,rgba(183,91,38,1))); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  rgba(211,132,66,1) 48%,rgba(183,91,38,1) 99%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  rgba(211,132,66,1) 48%,rgba(183,91,38,1) 99%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  rgba(211,132,66,1) 48%,rgba(183,91,38,1) 99%); /* IE10+ */
    background: radial-gradient(ellipse at center,  rgba(211,132,66,1) 48%,rgba(183,91,38,1) 99%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d38442', endColorstr='#b75b26',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    clear: both;
    position: relative;
    top: -40px;
    z-index: 2;
}
.belly_inner1, .belly_inner2 {
    background-color: #FDEDD3;
    border-radius: 60% / 90% 90% 30% 30%;
    height: 120px;
    position: relative;
    top: 64px;
    width: 90px;
    display:inline-block;
}
.belly_inner1:after {
    background-color: #FDEDD3;
    border-radius: 50%;
    content: "";
    display: block;
    height: 90px;
    left: 18px;
    position: relative;
    top: 34px;
    width: 90px;
}

.belly_inner1 {
    left: 31px;
}
.belly_inner2 {
    right: 31px;
}


/*HANDS*/
.hands {
    position: absolute;
    width: 238px;
}

.hand1, .hand2 {
    background: rgb(216,137,70); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(216,137,70,1) 14%, rgba(229,173,76,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(14%,rgba(216,137,70,1)), color-stop(100%,rgba(229,173,76,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(216,137,70,1) 14%,rgba(229,173,76,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(216,137,70,1) 14%,rgba(229,173,76,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(216,137,70,1) 14%,rgba(229,173,76,1) 100%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(216,137,70,1) 14%,rgba(229,173,76,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d88946', endColorstr='#e5ad4c',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 50%;
    content: "";
    display: block;
    height: 106px;
    left: -20px;
    position: relative;
    top: -30px;
    width: 54px;
    z-index: 1;
}
.hand1{
    transform:rotate(45deg);
  transform-origin:60% 40%;
    -ms-transform:rotate(45deg); /* IE 9 */
    -webkit-transform:rotate(45deg); /* Safari and Chrome */
    float: left;

    -webkit-animation: wave 5s infinite; /* Safari 4+ */
    -moz-animation:    wave 5s infinite; /* Fx 5+ */
    -o-animation:      wave 5s infinite; /* Opera 12+ */
    animation:         wave 5s infinite; /* IE 10+ */
}

.hand2 {
    transform:rotate(-45deg);
    -ms-transform:rotate(-45deg); /* IE 9 */
    -webkit-transform:rotate(-45deg); /* Safari and Chrome */
    float: right;
}


/*LEGS*/
.legs {
    left: -11px;
    position: relative;
    top: -109px;
    width: 225px;
    z-index:10;
}

.leg1, .leg2{
    border-radius: 50%;
    width: 90px;
    height:112px;
    border:1px solid #e4a241;
    background: rgb(223,154,76); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(223,154,76,1) 41%, rgba(213,132,67,1) 90%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(41%,rgba(223,154,76,1)), color-stop(90%,rgba(213,132,67,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(223,154,76,1) 41%,rgba(213,132,67,1) 90%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(223,154,76,1) 41%,rgba(213,132,67,1) 90%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(223,154,76,1) 41%,rgba(213,132,67,1) 90%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(223,154,76,1) 41%,rgba(213,132,67,1) 90%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#df9a4c', endColorstr='#d58443',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.leg1 {
    transform:rotate(45deg);
    -ms-transform:rotate(45deg); /* IE 9 */
    -webkit-transform:rotate(45deg); /* Safari and Chrome */
}

.leg2 {
    transform:rotate(-45deg);
    -ms-transform:rotate(-45deg); /* IE 9 */
    -webkit-transform:rotate(-45deg); /* Safari and Chrome */
}

.foot {
    background: rgb(226,200,151); /* Old browsers */
    background: -moz-linear-gradient(-45deg,  rgba(226,200,151,1) 14%, rgba(253,237,211,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(14%,rgba(226,200,151,1)), color-stop(100%,rgba(253,237,211,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg,  rgba(226,200,151,1) 14%,rgba(253,237,211,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg,  rgba(226,200,151,1) 14%,rgba(253,237,211,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg,  rgba(226,200,151,1) 14%,rgba(253,237,211,1) 100%); /* IE10+ */
    background: linear-gradient(135deg,  rgba(226,200,151,1) 14%,rgba(253,237,211,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2c897', endColorstr='#fdedd3',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    border-radius: 50%;
    width: 70px;
    height:90px;
    position:relative;
    top:10px;
    left:10px;
}


/*Animation*/

@-moz-keyframes wave {
    0%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
    50% {
        transform:rotate(100deg);
        -ms-transform:rotate(100deg); /* IE 9 */
        -webkit-transform:rotate(100deg); /* Safari and Chrome */
    }
    100%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
}

@-webkit-keyframes wave {
    0%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
    50% {
        transform:rotate(100deg);
        -ms-transform:rotate(100deg); /* IE 9 */
        -webkit-transform:rotate(100deg); /* Safari and Chrome */
    }
    100%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
}

@-o-keyframes wave {
    0%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
    50% {
        transform:rotate(100deg);
        -ms-transform:rotate(100deg); /* IE 9 */
        -webkit-transform:rotate(100deg); /* Safari and Chrome */
    }
    100%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
}
@keyframes wave {
    0%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
    50% {
        transform:rotate(100deg);
        -ms-transform:rotate(100deg); /* IE 9 */
        -webkit-transform:rotate(100deg); /* Safari and Chrome */
    }
    100%   {
        transform:rotate(45deg);
        -ms-transform:rotate(45deg); /* IE 9 */
        -webkit-transform:rotate(45deg); /* Safari and Chrome */
    }
}

            
          
!
999px
Loading ..................

Console