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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <svg width="21px" height="53px" viewBox="0 0 21 53"><style>.style0{fill:#fff;}.style1{stroke:#fff;stroke-width:2.5;stroke-linecap:round;}</style><path d="M9.42307692,0.085483871 C4.14615385,0.683391195 0,5.64602199 0,11.684886 L0,28.426291 C0,34.8537948 4.71153846,40.0854839 10.5,40.0854839 C16.2884615,40.0854839 21,34.8537948 21,28.426291 L21,11.684886 C21,5.64602199 16.8538462,0.683391195 11.5769231,0.085483871 L9.42307692,0.085483871 Z M19,28.6278568 C19,33.8448059 15.1887097,38.0854839 10.5,38.0854839 C5.81129032,38.0854839 2,33.8448059 2,28.6278568 L2,11.543111 C2,6.32616184 5.81129032,2.08548387 10.5,2.08548387 C15.1887097,2.08548387 19,6.32616184 19,11.543111 L19,28.6278568 L19,28.6278568 Z" class="style0"/><path d="M10.5,11.9188172 C11.6045695,11.9188172 12.5,11.0233867 12.5,9.9188172 C12.5,8.8142477 11.6045695,7.9188172 10.5,7.9188172 C9.3954305,7.9188172 8.5,8.8142477 8.5,9.9188172 C8.5,11.0233867 9.3954305,11.9188172 10.5,11.9188172 Z" class="style0"/><g class="arrows"><path d="M10.5,23.7903226 L10.5,30.0200975" class="style1 a1"/><path d="M10.5,34.7903226 L10.5,41.0200975" class="style1 a2"/><path d="M10.5,45.6717982 L10.5,51.9015732" class="style1 a3"/><path d="M6 48 L10.5 52 " class="style1 a3"/><path d="M15,48 L10.5,51.9999994" class="style1 a3"/></g></svg>
              
            
!

CSS

              
                body {
  background-color: black;
}
svg {
  display: block;
  margin: 2em auto;
}

/*animated scroll arrow animation*/
@-webkit-keyframes bounce {
  0%   { -webkit-transform:translate(0,-5px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -webkit-transform:translate(0,5px); opacity: 0; }
}
@-moz-keyframes bounce {
  0%   { -moz-transform:translate(0,-5px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { -moz-transform:translate(0,5px); opacity: 0; }
}
@keyframes bounce {
  0%   { transform:translate(0,-5px); opacity: 0;  }
  50%  { opacity: 1;  }
  100% { transform:translate(0,5px); opacity: 0; }
}

.bounce {
  -moz-animation: bounce 1s ease-in-out infinite;
  -webkit-animation: bounce 1s ease-in-out infinite;
  animation: bounce 1s ease-in-out infinite;
}

@keyframes arrow1
{
0% {opacity:0}
5% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

@-webkit-keyframes arrow1 /*Safari and Chrome*/
{
0% {opacity:0}
5% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

@keyframes arrow2
{
0% {opacity:0}
15% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

@-webkit-keyframes arrow2 /*Safari and Chrome*/
{
0% {opacity:0}
15% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

@keyframes arrow3
{
0% {opacity:0}
35% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

@-webkit-keyframes arrow3 /*Safari and Chrome*/
{
0% {opacity:0}
35% {opacity:0}
80% {opacity:1}
100% {opacity:0}
}

path.a1 {
  animation: arrow1 1.3s infinite;
	-webkit-animation: arrow1 1.3s infinite; 
}

path.a2 {
  animation: arrow2 1.3s infinite;
	-webkit-animation: arrow2 1.3s infinite; 
}

path.a3 {	
	animation: arrow3 1.3s infinite;
	-webkit-animation: arrow3 1.3s infinite; 
}
              
            
!

JS

              
                
              
            
!
999px

Console