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


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


Add 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 or require. We'll also process your JavaScript with Babel.

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


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.

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.

              <div class="scene">
  <div class="tree"></div>
  <div class="pokeball"></div>
              body, html {
  background: #B4E1D9;
  width: 100%;

.scene {
  margin: 0 auto; 
  position: relative;
  top: 0px;
  width: 100px;
  height: 100px;
  transform: rotateZ(45deg);

  top: 100%;
  left: 0%;
  background: #4C9E0C;
  background: radial-gradient(farthest-corner at 90% 20%, #4C9E0C 0%, #4C9E0C 60%, #57b60e 61%, #57b60e 100%);
  border-radius: 10% 50% 50% 50%;
  box-shadow: 50% 15% rgba(0,0,0,0.1);
  animation: sway 2s ease-in-out infinite;
  animation-direction: alternate;
  animation-delay: 1s;

  top: auto;
  bottom: 1%;
  left: 66%;
  background: #B68F58;
  width: 33%;
  transform: rotate(45deg);
@keyframes sway {
  0% {transform: skewY(12deg);}
  60% {transform: skewY(0deg);}
  100% {transform: skewX(12deg);}

  top: 0px;
  left: 100%;
  background: radial-gradient(farthest-corner at 20% 20%, #F67F7B 0%, #F67F7B 50%, #F4F0ED 51%, #F4F0ED 100%);
  border-radius: 50%;
  border: 2px solid #AB5B66;
  height: 100px;
  width: 100px;
  box-shadow: 50% 0px rgba(0,0,0,0.1);
  animation: bounce 2s ease-in infinite;

  height: 70%;
  width: 70%;
  top: 10%;
  left: 30%;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;

@keyframes bounce {
  0% {transform: translateX(0px) translateY(0px);}
  50% {transform: translateX(0px) translateY(0px);
  box-shadow: 2px 0px rgba(0,0,0,0.1);}
  60% {transform: translateX(-2px) translateY(-2%); box-shadow: 8px 0px rgba(0,0,0,0.1);}
  70% {transform: translateX(0px) translateY(0px);
  box-shadow: 2px 0px rgba(0,0,0,0.1);}
  100% {transform: translateX(0px) translateY(0px);}
              var audio = document.getElementById("pokesong");

function playpokesong() {;

function pausepokesong() {

//grass B3E061
//grassdark 94B365
//grassshadwo 9FC754

//plantlight B2E50E
//plantdark 4C9E0C

//greylight  F4F0ED
//greymid D5CDCA
//greydark  A09292
//bluegreylight B6C6C5
//bluegreydark  9EACAD

//bluelight 2CD7AD
//bluedark 24BFA0

//yellow FDC33E
//orange EE901F
//brown B68F58
//browndark 987543
//red F67F7B
//reddark AB5B66

//road DDE3E3