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

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

              
                <p>Anec eu odio vitae ante consequat aliquet nec id nisl. Duis ut turpis a turpis facilisis sagittis. Phasellus iaculis, augue vitae rhoncus mattis, nulla libero tristique nulla, malesuada tempor augue dui nec diam. Nullam elementum ipsum ut nisi mollis dignissim eget quis orci.</p>

<p>Aenean faucibus ante id sapien scelerisque, ac ullamcorper tortor porttitor. Vivamus mauris nisl, ornare eget purus in, pulvinar pulvinar nisi. Suspendisse ut turpis pellentesque lorem varius commodo. Mauris mi tellus, iaculis vitae sapien ut, molestie fringilla nisi.</p>

              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Sansita+One);
  
p {
  font-family: Georgia;
  font-size: calc(16px + 0.25vw);
  line-height: 1.6;
}

p:first-child:first-letter {
  font-size: calc(60px + 0.75vw);
  line-height: 40px;
  color: indianred;
  float: left;
  padding-top: 10px;
  padding-right: 10px;
  padding-left: 5px;
    font-family: Sansita One;
}

              
            
!

JS

              
                
              
            
!
999px

Console