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.

            
                  <body class="jakepage">
        <div class="jake">
            <div class="jake-body">
                <div class="jake-leg jake-leg3"></div>
                <div class="jake-leg jake-leg1"></div>
                <div class="jake-tailback"></div>
                <div class="jake-torso"></div>
                <div class="jake-tail"></div>
                <div class="jake-leg jake-leg4"></div>
                <div class="jake-leg jake-leg2"></div>
                <div class="jake-head">
                    <div class="jake-eye jake-eye1"></div>
                    <div class="jake-eye jake-eye2"></div>
                    <div class="jake-nose">
                        <div class="jake-snout"></div>
                    </div>
                </div>
            </div>
        </div>
            
          
!
            
              /*indigo #4d64aa
violet #6f54a1
magenta #e00e8b
red #ed4948
orange #ec9546
yellow #fdbf50
lime #cedd46
green #7bc35f
turquoise #82d1de
blue #64ccef*/

/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
    height: 100%;
}
.jakepage {
    background-color: #64ccef;
}

.jake {
    position: relative;
    width: 100%;
    height: 100%;
}

.jake-leg3 {
    right: 70px;
    bottom: -62px;
}

.jake-body {
    height: 100px;
    width: 90%;
    position: absolute;
    bottom: 100px;
    right: 0;
    margin: 0 5%;
}

.jake-torso {
    border: 3px solid #333;
    background-color: #f5b424;
    height: 100px;
    border-radius: 50px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.jake-tailback {
    content: '';
    position: absolute;
    right: 8px;
    top: -33px;
    width: 76px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 16px 13px 0 0 #333;
}

.jake-tail {
    content: '';
    position: absolute;
    right: 5px;
    top: -23px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 10px 10px 0 0 #f5b424;
}

.jake-leg {
    position: absolute;
    height: 70px;
    width: 20px;
    border: 3px solid #333;
    border-top: 0;
    background-color: #f5b424;
    border-bottom-right-radius: 10px;
}

.jake-leg:before {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0;
    width: 33px;
    height: 20px;
    border: 3px solid #333;
    background-color: #f5b424;
    border-radius: 20px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    clip: rect(0px, 25px, 20px, 0px);
}

.jake-leg4 {
    right: 40px;
    bottom: -62px;
}

.jake-leg3 {
    bottom: -45px;
    right: 85px;
}

.jake-leg2 {
    bottom: -62px;
    left: 80px;
}

.jake-leg1 {
    bottom: -45px;
    left: 50px;
}

.jake-head {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 120px;
    height: 70px;
    border-radius: 100px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-bottom: 0;
}

.jake-head:before {
    content: '';
    position: absolute;
    top: 60px;
    left: -3px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-top: 0;
}

.jake-head:after {
    content: '';
    position: absolute;
    top: 60px;
    left: 97px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-top: 0;
}

.jake-eye {
    position: absolute;
    top: 30px;
    right: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    overflow: hidden;
    border: 1px solid #333;
}

.jake-eye:before {
    content: '';
    position: absolute;
    top: 2px;
    right: 0px;
    width: 23px;
    height: 23px;
    background-color: white;
    border-radius: 50%;
}

.jake-eye1 {
    left: 18px;
    right: 0;
}

.jake-eye2:before {
    right: 1px;
}

.jake-nose {
    position: absolute;
    top: 41px;
    left: 37px;
    width: 40px;
    height: 25px;
    border-radius: 100px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-bottom: 0;
}

.jake-nose:before {
    content: '';
    position: absolute;
    top: 15px;
    left: -3px;
    width: 16px;
    height: 16px;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-top: 0;
    transform: rotate(10deg);
}

.jake-nose:after {
    content: '';
    position: absolute;
    top: 15px;
    right: -3px;
    width: 16px;
    height: 16px;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: #f5b424;
    border: 3px solid #333;
    border-top: 0;
    transform: rotate(-10deg);
}

.jake-snout {
    width: 18px;
    height: 12px;
    border-radius: 22px;
    position: relative;
    top: 6px;
    left: 9px;
    background-color: #333;
    z-index: 2;
}

@media (min-width: 300px) {
    .jakepage {
        background-color:#4d64aa;
    }
}
@media (min-width: 400px) {
    .jakepage {
        background-color:#6f54a1;
    }
}
@media (min-width: 500px) {
    .jakepage {
        background-color:#e00e8b;
    }
}
@media (min-width: 600px) {
    .jakepage {
        background-color:#ed4948;
    }
}
@media (min-width: 700px) {
    .jakepage {
        background-color:#ec9546;
    }
}
@media (min-width: 800px) {
    .jakepage {
        background-color:#fdbf50;
    }
}
@media (min-width: 900px) {
    .jakepage {
        background-color:#cedd46;
    }
}
@media (min-width: 1000px) {
    .jakepage {
        background-color:#7bc35f;
    }
}
@media (min-width: 1100px) {
    .jakepage {
        background-color:#82d1de;
    }
}
@media (min-width: 1200px) {
    .jakepage {
        background-color:#64ccef;
    }
}
@media (min-width: 1300px) {
    .jakepage {
        background-color:#4d64aa;
    }
}
@media (min-width: 1400px) {
    .jakepage {
        background-color:#6f54a1;
    }
}
@media (min-width: 1500px) {
    .jakepage {
        background-color:#e00e8b;
    }
}
@media (min-width: 1600px) {
    .jakepage {
        background-color:#ed4948;
    }
}
@media (min-width: 1700px) {
    .jakepage {
        background-color:#ec9546;
    }
}

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

Console