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

              
                <header>
  
</header>
<article>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Enim reprehenderit veritatis a, eveniet voluptatibus sequi officiis sed illo mollitia! Doloribus rerum quas quam praesentium amet non saepe ad dolores assumenda.</p>
  <p>Dolore ipsam excepturi ad illum. Quod mollitia laudantium, animi, sit tenetur numquam cupiditate voluptate accusamus pariatur dolor unde, nihil culpa odio consectetur omnis incidunt voluptatum tempore quibusdam! Asperiores, in, odio.</p>
  <p>Quam, vitae quibusdam voluptate et dolorem! Nobis libero, labore dolorem magni ullam quas ipsum dolorum. Labore ad veritatis voluptatum ab, vitae sequi totam est alias enim aut pariatur fugit, in.</p>
  <p>Fugit debitis eius at perspiciatis maiores! Ipsa tempore nesciunt magnam pariatur. Repellendus rem, doloribus fuga natus dicta nam, quam aperiam ab debitis eligendi corrupti ullam minima. Facilis aspernatur, officiis itaque.</p>
  <p>Ipsum, placeat, quasi. Reprehenderit laudantium sunt ea, eum illo aut et tenetur, dignissimos modi non? Quisquam eius quos quam labore quas asperiores, illo molestias ea sequi eum, ipsum odit suscipit.</p>
  <p>Unde soluta rerum assumenda exercitationem ab repellendus placeat, iure, dolorum voluptatibus, debitis suscipit expedita incidunt amet explicabo architecto temporibus possimus esse inventore laborum autem distinctio voluptatem obcaecati numquam. Accusantium, natus.</p>
  <p>Perferendis sed, vel! Pariatur omnis possimus quae non illum officiis ex ipsa beatae debitis tempora molestiae dolor nemo sit dolorum iste quos, sequi iure! Praesentium ea architecto excepturi vero nihil.</p>
  <p>Vero, dolor dolorum magnam odit, perferendis, placeat iusto voluptates, dolore eligendi facilis nam labore sequi a cumque error obcaecati ea harum! Recusandae voluptates, debitis officia error explicabo eius vitae libero!</p>
  <p>Officia doloribus debitis ipsam dolore repellendus doloremque impedit earum hic commodi, odio iure numquam, autem laborum odit expedita, fuga ad repellat. Officiis, tenetur. Repellat laudantium earum, neque dolorem, accusamus architecto?</p>
  <p>Quo commodi consequuntur tempora, velit nobis! Placeat vitae, mollitia pariatur. Corporis porro tenetur at iste rerum nam mollitia placeat suscipit, ullam illum provident adipisci eligendi ipsum earum enim doloremque vero.</p>
</article>
              
            
!

CSS

              
                @import "compass/css3";

header {
  width: 100%;
  height: 400px;
  background-color: #ff0000;
  background-image:
    linear-gradient(transparent 80%, white),
    radial-gradient(#ff6, transparent 50%),
  ;
  background-size: 100%, 200px 200px;
  background-repeat: no-repeat;
  background-position: center, 50px 100px;
  background-attachment: scroll, fixed;
  filter: contrast(50) hue-rotate(-30deg);
}

article {
  margin: -41px 0 0 150px;
  padding: 2em 4em 8em 2em;
  font-family: 'Hoefler Text';
  line-height: 1.3;
  color: #AF2759;
  border-left: 1px solid #F5F3E6;
  position: relative;
}


body {
  margin: 0;
}
              
            
!

JS

              
                // ¯\_(ツ)_/¯
              
            
!
999px

Console