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 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


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.


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.


                <div class="wrapper">
    <h2>Two animation modes</h2>
    <p>In Quick mode, build your animations scene by scene and we’ll take care of the frames in between. In Advanced mode, animate individual elements using layers, easily changing the location of elements within the stack.</p>
    <p><a href="#">Learn More</a></p>

    <img src="">
    <div class="shadow"></div>


                @import "compass/css3";

@import url(;

body { 
  color: #555;
  font: 13px/18px arial;

p { margin-top: 30px; }

a {
  color: #3266d6;
  text-decoration: none;

.wrapper {
  padding: 2em;
  width: 980px;

section { 
  float: left;
  &:first-child { width: 500px; }
  &:second-child {
    height: 246px;
    overflow: hidden;
    padding-bottom: 30px;
    width: 369px;

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;

img {
  position: relative;
  z-index: 1;

.shadow {
  background: #000;
  height: 1em;
  left: 2.5em;
  position: relative;
  bottom: 2em;
  width: 18em;
  z-index: 0;
  @include border-radius(50%);
  @include box-shadow(0 15px 20px #555);


                // See the orginal page at: