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


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.


  each i in [1, 2, 3, 4, 5]
        h1.tab__title title0#{i}
          p Lorem ipsum dolor sit, amet consectetur adipisicing elit. Necessitatibus ex dolores rerum quibusdam commodi provident cupiditate aliquid praesentium eius iste ullam quo unde vero minima cum eveniet, aspernatur totam facere.



                * {
  box-sizing: border-box;

html {
  background: #000;
  text-align: center;

.wrapper {
  list-style: none;
  padding: 1em 0;

.tab {
  $size: 300px;
  width: $size;
  margin: 0 auto;
  perspective: $size;
  &__inner {
    width: 100%;
    height: 15em;
    margin-bottom: -40%;
    background: #fff;
    transform-origin: 50% 0;
    transform: rotateX(-20deg);
    box-shadow: 0px -10px 20px 0px rgba(0, 0, 0, .1);
    border-radius: 5px;
    overflow: hidden;
  &__title {
    line-height: 1.5;
  &__contents {
    padding: .5em;
    text-align: left;