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

              
                <div id="letter">I</div>
<div id="description">is for Icecream</div>

<div id="animation">
    <div class="chocolate scoop"></div>
    <div class="vanilla scoop"></div>
    <div class="strawberry scoop"></div>
    <div class="chocolate scoop"></div>
    <div class="vanilla scoop"></div>
    <div class="chocolate scoop"></div>
    <div class="strawberry scoop"></div>
    <div class="cherry"></div>
    <div class="bites">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="bowl"></div>
</div>

<!--

tumblr embed code

<iframe src="https://fiddle.jshell.net/alexbergin/3wkcc/200/show/" width="500" height="300" style="display:block;background-color:transparent;overflow:hidden;" allowTransparency="false" frameborder="0" scrolling="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

-->
              
            
!

CSS

              
                * {
    padding: 0;
    margin: 0;
}

html , body {
    width: 100%;
    height: 100%:
    overflow: hidden;
    position: fixed;
    top: 0%;
    left: 0%;
}

html {
    background-color: rgba(255,240,240,1);    
}

#letter {
    font-size: 120px;
    font-family: Helvetica;
    font-weight: Bold;
    color: rgba(18,22,26,0.7);
    width: 120px;
    height: 120px;
    text-align: center;
    vertical-align: middle;
    line-height: 120px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    opacity: 1;
    z-index: 15;
}

#description {
    position: fixed;
    bottom: 10px;
    width: 100%;
    z-index: 100;
    font-family: Helvetica;
    font-weight: 200;
    color: rgba(18,22,26,0.7);
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
}

#animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    margin-top: -20px;
    -webkit-transform: scale( 1.2 );
}

.bowl {
    width: 200px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    animation: bowl 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: bowl 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -100px , 30px );
    -moz-transform: translate( -100px , 30px );
    -ms-transform: translate( -100px , 30px );
    -o-transform: translate( -100px , 30px );
    transform: translate( -100px , 30px );
    z-index: 10;
}

.bowl:before {
    width:200px;
    height: 200px;
    border-radius: 250px;
    background-color: #fff;
    position: absolute;
    top: -125px;
    left: 0px;
    content: "";
}

.bowl:after {
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    height: 30px;
    background-color: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    content: "";
}

.bites {
    position: absolute;
    z-index: 8;
    top: 50%;
    left: 50%;
    margin-top: 4px;
}

.bites div {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 90px;
    background-color: rgba(255,240,240,1);
}

.bites div:nth-of-type(1){
    margin-left: -40px;
    margin-top: -80px;
    animation: bite1 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite1 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(2){
    margin-left: 10px;
    margin-top: -70px;
    animation: bite2 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite2 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(3){
    margin-left: -90px;
    margin-top: -60px;
    animation: bite3 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite3 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(4){
    margin-left: -20px;
    margin-top: -40px;
    animation: bite4 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite4 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(5){
    margin-left: -40px;
    margin-top: -30px;
    animation: bite5 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite5 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(6){
    margin-left: -95px;
    margin-top: -20px;
    animation: bite6 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite6 8s ease-out 0.5s infinite normal forwards;
}

.bites div:nth-of-type(7){
    margin-left: 25px;
    margin-top: -20px;
    animation: bite7 8s ease-out 0.5s infinite normal forwards;
	-webkit-animation: bite7 8s ease-out 0.5s infinite normal forwards;
}

.scoop {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 60px;
}

.chocolate {
    background-color: rgba(143,112,95,1);
}

.strawberry {
    background-color: rgba(255,162,185,1);
}

.vanilla {
    background-color: rgba(255,250,243,1);
}

.scoop:nth-of-type(1){
    animation: scoop1 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop1 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -90px , 0px );
    -moz-transform: translate( -90px , 0px );
    -ms-transform: translate( -90px , 0px );
    -o-transform: translate( -90px , 0px );
    transform: translate( -90px , 0px );
    z-index: 6;
}

.scoop:nth-of-type(2){
    animation: scoop2 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop2 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -50px , -5px );
    -moz-transform: translate( -50px , -5px );
    -ms-transform: translate( -50px , -5px );
    -o-transform: translate( -50px , -5px );
    transform: translate( -50px , -5px );
    z-index: 7;
}

.scoop:nth-of-type(3){
    z-index: 5;
    animation: scoop3 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop3 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -10px , -10px );
    -moz-transform: translate( -10px , -10px );
    -ms-transform: translate( -10px , -10px );
    -o-transform: translate( -10px , -10px );
    transform: translate( -10px , -10px );
}

.scoop:nth-of-type(4){
    animation: scoop4 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop4 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( 26px , 0px );
    -moz-transform: translate( 26px , 0px );
    -ms-transform: translate( 26px , 0px );
    -o-transform: translate( 26px , 0px );
    transform: translate( 26px , 0px );
    z-index: 4;
}

.scoop:nth-of-type(5){
    animation: scoop5 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop5 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( 10px , -30px );
    -moz-transform: translate( 10px , -30px );
    -ms-transform: translate( 10px , -30px );
    -o-transform: translate( 10px , -30px );
    transform: translate( 10px , -30px );
    z-index: 2;
}

.scoop:nth-of-type(6){
    animation: scoop6 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop6 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -20px , -40px );
    -moz-transform: translate( -20px , -40px );
    -ms-transform: translate( -20px , -40px );
    -o-transform: translate( -20px , -40px );
    transform: translate( -20px , -40px );
    z-index: 3;
}

.scoop:nth-of-type(7){
    animation: scoop7 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: scoop7 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    -webkit-transform: translate( -50px , -35px );
    -moz-transform: translate( -50px , -35px );
    -ms-transform: translate( -50px , -35px );
    -o-transform: translate( -50px , -35px );
    transform: translate( -50px , -35px );
    z-index: 1;
}

.cherry {
    position: absolute;
    animation: cherry 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
	-webkit-animation: cherry 8s cubic-bezier(.89,.14,.5,1.18) 0s infinite normal forwards;
    width: 15px;
    height: 15px;
    background-color: rgba(255,108,90,1);
    border-radius: 10px;
    -webkit-transform: translate( 0px , -48px );
    -moz-transform: translate( 0px , -48px );
    -ms-transform: translate( 0px , -48px );
    -o-transform: translate( 0px , -48px );
    transform: translate( 0px , -48px );
    overflow: visible;
    top: 50%;
    left: 50%;
    z-index: 1;
}

.cherry:after {
    position: absolute;
    border-top: 2px solid rgba(65,32,3,1);
    border-right: 2px solid rgba(65,32,3,1);
    width: 5px;
    height: 12px;
    margin-top: -12px;
    margin-left: 1px;
    border-top-right-radius: 20px;
    z-index: -1;
    content:"";
}

@keyframes cherry {
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	70% { margin-top: 0px;} 
	65% { margin-top: -50%;} 
}

@-webkit-keyframes cherry {
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	70% { margin-top: 0px;} 
	65% { margin-top: -50%;} 
}

@keyframes scoop7 {
	57% { margin-top: -50%;} 
	64% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 2px;} 
}

@-webkit-keyframes scoop7 {
	57% { margin-top: -50%;} 
	64% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 2px;} 
}

@keyframes scoop6 {
	56% { margin-top: -50%;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop6 {
	56% { margin-top: -50%;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes scoop5 {
	50% { margin-top: -50%;} 
	56% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop5 {
	50% { margin-top: -50%;} 
	56% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes scoop4 {
	55% { margin-top: 0px;} 
	40% { margin-top: -50%;} 
	47% { margin-top: 0px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop4 {
	55% { margin-top: 0px;} 
	40% { margin-top: -50%;} 
	47% { margin-top: 0px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes scoop3 {
	35% { margin-top: -50%;} 
	42% { margin-top: 0px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop3 {
	35% { margin-top: -50%;} 
	42% { margin-top: 0px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes scoop2 {
	31% { margin-top: -50%;} 
	38% { margin-top: 0px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop2 {
	31% { margin-top: -50%;} 
	38% { margin-top: 0px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes scoop1 {
	24% { margin-top: -50%;} 
	31% { margin-top: 0px;} 
	39% { margin-top: 0px;} 
	37% { margin-top: 0px;} 
	38% { margin-top: 6px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes scoop1 {
	24% { margin-top: -50%;} 
	31% { margin-top: 0px;} 
	39% { margin-top: 0px;} 
	37% { margin-top: 0px;} 
	38% { margin-top: 6px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: -50%;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes bowl {
	31% { margin-top: 0px;} 
	29% { margin-top: 0px;} 
	30% { margin-top: 12px;} 
	39% { margin-top: 0px;} 
	37% { margin-top: 0px;} 
	38% { margin-top: 6px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: 0px;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@-webkit-keyframes bowl {
	31% { margin-top: 0px;} 
	29% { margin-top: 0px;} 
	30% { margin-top: 12px;} 
	39% { margin-top: 0px;} 
	37% { margin-top: 0px;} 
	38% { margin-top: 6px;} 
	43% { margin-top: 0px;} 
	41% { margin-top: 0px;} 
	42% { margin-top: 8px;} 
	48% { margin-top: 0px;} 
	55% { margin-top: 0px;} 
	46% { margin-top: 0px;} 
	47% { margin-top: 6px;} 
	56% { margin-top: 5px;} 
	57% { margin-top: 0px;} 
	60% { margin-top: 7px;} 
	61% { margin-top: 0px;} 
	64% { margin-top: 8px;} 
	65% { margin-top: 0px;} 
	100% { margin-top: 0px;} 
	0% { margin-top: 0px;} 
	72% { margin-top: 0px;} 
	71% { margin-top: 1px;} 
}

@keyframes bite1 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	76% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	75% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite1 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	76% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	75% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite2 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	77% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	76% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite2 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	77% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	76% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite3 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	78% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	77% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite3 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	78% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	77% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite4 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	79% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	78% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite4 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	79% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	78% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite5 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	80% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	79% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite5 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	80% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	79% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite6 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	81% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	80% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite6 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	81% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	80% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@keyframes bite7 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	82% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	81% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}

@-webkit-keyframes bite7 {
	0% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
	82% { -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); -o-transform: scale(1); transform: scale(1);} 
	81% { -webkit-transform: scale(0); -moz-transform: scale(0); -ms-transform: scale(0); -o-transform: scale(0); transform: scale(0);} 
}
              
            
!

JS

              
                
              
            
!
999px

Console