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 includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                .wrapper
  h1 H
    span.happy APPY 
    span.t T
    span.thanksgiving HANKSGIVING!
  .body
  .head
  .beak
  .g
  .bf1
  .bf2
  .bf3
  .sf1
  .sf2
  .leg
              
            
!

CSS

              
                //body transition
@-webkit-keyframes bodyMove {
    0%   {transform:rotate(-10deg)}
    30%   {transform:rotate(-10deg)}
    70% {transform:rotate(4deg);border-top-right-radius:150%;}
    100% {transform:rotate(4deg);border-top-right-radius:150%;}
}

/* Standard syntax */
@keyframes bodyMove {
    0%   {transform:rotate(-10deg)}
    30%   {transform:rotate(-10deg)}
    70% {transform:rotate(4deg);border-top-right-radius:150%;}
    100% {transform:rotate(4deg);border-top-right-radius:150%;}
}

//head transition
@-webkit-keyframes headMove {
    0%   {left:24%;top:40%;}
    30%   {left:24%;top:40%;}
    70% {left:40%;top:56%;box-shadow:2px 2px 2px rgba(0,0,0,0.3)}
  100% {left:40%;top:56%;box-shadow:2px 2px 2px rgba(0,0,0,0.3)}
}

/* Standard syntax */
@keyframes headMove {
     0%   {left:24%;top:40%;}
    30%   {left:24%;top:40%;}
    70% {left:40%;top:56%;box-shadow:2px 2px 2px rgba(0,0,0,0.3)}
  100% {left:40%;top:56%;box-shadow:2px 2px 2px rgba(0,0,0,0.3)}
}

//leg transition
@-webkit-keyframes legMove {
    0%   {background:#F7CA18;width:15px;
    height:30px; top:70%;
    left:40%;}
    30%   {background:#F7CA18;width:15px;
    height:30px; top:70%;
    left:40%;}
    70% {width:200px; height:10px;z-index:1; background:#ABB7B7;left:23%;top:67%;border-bottom-left-radius:30%; border-bottom-right-radius:30%;border-top-right-radius:10%;border-top-left-radius:10%;}
    100% {width:200px; height:10px;z-index:1; background:#ABB7B7;left:23%;top:67%;border-bottom-left-radius:30%; border-bottom-right-radius:30%;border-top-right-radius:10%;border-top-left-radius:10%;}
}

/* Standard syntax */
@keyframes legMove {
    0%   {background:#F7CA18;width:15px;
    height:30px; top:70%;
    left:40%;}
    30%   {background:#F7CA18;width:15px;
    height:30px; top:70%;
    left:40%;}
    70% {width:200px; height:10px;z-index:1; background:#ABB7B7;left:23%;top:67%;border-bottom-left-radius:30%; border-bottom-right-radius:30%;border-top-right-radius:10%;border-top-left-radius:10%;}
    100% {width:200px; height:10px;z-index:1; background:#ABB7B7;left:23%;top:67%;border-bottom-left-radius:30%; border-bottom-right-radius:30%;border-top-right-radius:10%;border-top-left-radius:10%;}
}

//feather3 transition
@-webkit-keyframes bf3Move {
    0%   {width:20px;
    height:70px;
    background:#D35400;
    left:61.5%;
    top:49%;
    transform:rotate(80deg);}
    30%   {width:20px;
    height:70px;
    background:#D35400;
    left:61.5%;
    top:49%;
    transform:rotate(80deg);}
    70% {left:50%;top:61%;box-shadow:2px 2px 2px rgba(0,0,0,0.3);background:#FDE3A7;width:30px;height:30px;border-radius:50%;}
    100% {left:50%;top:61%;box-shadow:2px 2px 2px rgba(0,0,0,0.3);background:#FDE3A7;width:30px;height:30px;border-radius:50%;}
}

/* Standard syntax */
@keyframes bf3Move {
    0%   {width:20px;
    height:70px;
    background:#D35400;
    left:61.5%;
    top:49%;
    transform:rotate(80deg);}
    30%   {width:20px;
    height:70px;
    background:#D35400;
    left:61.5%;
    top:49%;
    transform:rotate(80deg);}
    70% {left:50%;top:61%;box-shadow:2px 2px 2px rgba(0,0,0,0.3);background:#FDE3A7;width:30px;height:30px;border-radius:50%;}
    100% {left:50%;top:61%;box-shadow:2px 2px 2px rgba(0,0,0,0.3);background:#FDE3A7;width:30px;height:30px;border-radius:50%;}
}

//feather1 transition
@-webkit-keyframes bf1Move {
    0%   {left:43%;
    top:35%;width:20px;
    height:70px;
    background:#D35400;}
    30%   {left:43%;
    top:35%;width:20px;
    height:70px;
    background:#D35400;}
    80% {left:36%;top:41%;background:#DADFE1;width:10px;height:40px;}
    100% {left:36%;top:41%;background:#DADFE1;width:10px;height:40px;}
}

/* Standard syntax */
@keyframes bf1Move {
    0%   {left:43%;
    top:35%;width:20px;
    height:70px;
    background:#D35400;}
    30%   {left:43%;
    top:35%;width:20px;
    height:70px;
    background:#D35400;}
    80% {left:36%;top:41%;background:#DADFE1;width:10px;height:40px;}
    100% {left:36%;top:41%;background:#DADFE1;width:10px;height:40px;}
}

//feather2 transition
@-webkit-keyframes bf2Move {
    0%   {width:20px;
    height:70px;
    background:#D35400;
    left:54%;
    top:38%;
    transform:rotate(28deg);}
    30%   {width:20px;
    height:70px;
    background:#D35400;
    left:54%;
    top:38%;
    transform:rotate(28deg);}
    80% {left:45%;top:41%;background:#DADFE1;width:10px;height:40px;transform:rotate(0deg)}
   100% {left:45%;top:41%;background:#DADFE1;width:10px;height:40px;transform:rotate(0deg)}
}

/* Standard syntax */
@keyframes bf2Move {
    0%   {width:20px;
    height:70px;
    background:#D35400;
    left:54%;
    top:38%;
    transform:rotate(28deg);}
    30%   {width:20px;
    height:70px;
    background:#D35400;
    left:54%;
    top:38%;
    transform:rotate(28deg);}
    80% {left:45%;top:41%;background:#DADFE1;width:10px;height:40px;transform:rotate(0deg)}
    100% {left:45%;top:41%;background:#DADFE1;width:10px;height:40px;transform:rotate(0deg)}
}

//smallfeather1 transition
@-webkit-keyframes sf1Move {
  0%{width:15px;
  height:50px;
  background:#FDE3A7;
  top:38%;
  left:49%;
  transform:rotate(11deg);}
  30%{width:15px;
  height:50px;
  background:#FDE3A7;
  top:38%;
  left:49%;
  transform:rotate(11deg);}
  70%{left:40.5%;top:44%;background:#DADFE1;width:10px;height:20px;transform:rotate(0deg)}
  100%{left:40.5%;top:44%;background:#DADFE1;width:10px;height:20px;transform:rotate(0deg)}
}

/* Standard syntax */
@keyframes sf1Move {
  0%{width:15px;
  height:50px;
  background:#FDE3A7;
  top:38%;
  left:49%;
  transform:rotate(11deg);}
  30%{width:15px;
  height:50px;
  background:#FDE3A7;
  top:38%;
  left:49%;
  transform:rotate(11deg);}
  70%{left:40.5%;top:44%;background:#DADFE1;width:10px;height:20px;transform:rotate(0deg)}
  100%{left:40.5%;top:44%;background:#DADFE1;width:10px;height:20px;transform:rotate(0deg)}
}

//smallfeather2 
@-webkit-keyframes sf2Move {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}

/* Standard syntax */
@keyframes sf2Move {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}


//beak transition 
@-webkit-keyframes beakMove {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}

/* Standard syntax */
@keyframes beakMove {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}


//beak transition 
@-webkit-keyframes gMove {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}

/* Standard syntax */
@keyframes gMove {
  0%{}
  50%{opacity:0;}
  100%{opacity:0;}
}

body {
  background:radial-gradient(#D64541, #96281B);
}

.wrapper {
  width:500px;
  height:500px;
  margin:0 auto;
  position: relative;
  background:transparent;
  
  h1 {
    color:white;
    text-align:center;
    font-size:40px;
    font-family: "Helvetica Neue";
    
    .happy{
      font-size:30px;
    }
    
    .t {
      font-size:40px;
    }
    
    .thanksgiving {
      font-size:30px;
    }
  }
  .body {
    width:130px;
    height:90px;
    background:#F27935;
    position: absolute;
    left:30%;
    top:50%;
    border-top-left-radius:100%;
    border-bottom-left-radius:90%;
    border-top-right-radius:100%;
    border-bottom-right-radius:100%;
    transform:rotate(-10deg);
    /*border-top-left-radius:40%;
    border-top-right-radius:80%;
    border-bottom-left-radius:30%;
    border-bottom-right-radius:30%;*/
    -webkit-animation: bodyMove 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: bodyMove 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .head {
    width:60px;
    height:60px;
    border-radius:50%;
    position: absolute;
    left:24%;
    top:40%;
    background-color:#F27935;
    -webkit-animation: headMove 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: headMove 2s linear 1s infinite alternate; /* Standard syntax */
  }
  
  .beak {
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-right: 22px solid #F7CA18;
	border-bottom: 12px solid transparent;
  position: absolute;
  top:47%;
  left:19.5%;
  transform:rotate(-22deg);
  -webkit-animation: beakMove 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: beakMove 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .g {
    width:10px;
    height:20px;
    position: absolute;
    background:#CF000F;
    left:24%;
    top:52%;
    -webkit-animation: gMove 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: gMove 2s linear 1s infinite alternate; /* Standard syntax */
  }
  
  .bf1 {
    width:20px;
    height:70px;
    background:#D35400;
    position: absolute;
    left:43%;
    top:35%;
     -webkit-animation: bf1Move 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: bf1Move 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .bf2 {
    width:20px;
    height:70px;
    background:#D35400;
    position: absolute;
    left:54%;
    top:38%;
    transform:rotate(28deg);
      -webkit-animation: bf2Move 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: bf2Move 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .bf3 {
    width:20px;
    height:70px;
    background:#D35400;
    position: absolute;
    left:61.5%;
    top:49%;
    transform:rotate(80deg);
    -webkit-animation: bf3Move 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: bf3Move 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .sf1{
	width:15px;
  height:50px;
  background:#FDE3A7;
  position: absolute;
  top:38%;
  left:49%;
  transform:rotate(11deg);
  -webkit-animation: sf1Move 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: sf1Move 2s linear 1s infinite alternate; /* Standard syntax */
  }
   .sf2{
	width:15px;
  height:50px;
  background:#FDE3A7;
  position: absolute;
  top:45%;
  left:59%;
  transform:rotate(53deg);
  -webkit-animation: sf2Move 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: sf2Move 2s linear 1s infinite alternate; /* Standard syntax */
  }
  .leg {
    width:15px;
    height:30px;
    background:#F7CA18;
    position: absolute;
    top:70%;
    left:40%;
    -webkit-animation: legMove 2s linear 1s infinite alternate; /* Chrome, Safari, Opera */
    animation: legMove 2s linear 1s infinite alternate; /* Standard syntax */
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console