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

              
                <html lang="nb">
  <body>
    <p>
      Vestibulum lacus nisl, rutrum vitae ligula et, ultrices convallis ex. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nullam sagittis ipsum sit amet neque finibus, sit amet vehicula eros egestas. Mauris massa ipsum, molestie nec mi ut, suscipit eleifend lectus. Ut nulla mi, interdum at mauris a, pharetra euismod velit. Mauris non felis sed nibh tristique porta. Suspendisse porta, risus a congue mattis, odio neque fringilla metus, feugiat efficitur augue ex sed elit. Nam vitae scelerisque dolor.
    </p>
    <p>
  « Voulez-vous un sandwich, Henri ? » Nulla eu est at ligula rhoncus pellentesque sed vitae turpis. Nullam faucibus lorem sit amet euismod interdum. Ut maximus sed metus eu elementum. Nullam gravida nibh in auctor sollicitudin. Praesent ut placerat ex. Duis sagittis rutrum sollicitudin. Suspendisse quis orci at magna feugiat mattis. Sed ultricies lectus ac nunc feugiat eleifend. Etiam a interdum dui, malesuada pulvinar neque. Nullam rutrum suscipit metus sollicitudin posuere. Proin laoreet orci quis aliquet faucibus. Sed at risus sit amet augue luctus imperdiet id vitae ex.
</p>
<p>
  – Pettersen, ropte hun, – kom inn og få kaffe. Nulla eu est at ligula rhoncus pellentesque sed vitae turpis. Nullam faucibus lorem sit amet euismod interdum. Ut maximus sed metus eu elementum. Nullam gravida nibh in auctor sollicitudin. Praesent ut placerat ex. Duis sagittis rutrum sollicitudin. Suspendisse quis orci at magna feugiat mattis. Sed ultricies lectus ac nunc feugiat eleifend. Etiam a interdum dui, malesuada pulvinar neque. Nullam rutrum suscipit metus sollicitudin posuere. Proin laoreet orci quis aliquet faucibus. Sed at risus sit amet augue luctus imperdiet id vitae ex.
    </p>
    
  </body>
</html>
              
            
!

CSS

              
                p {
  line-height: 1.6;
}


p::first-letter {  
  float: left;
  font-size: 5.7em;
  line-height: 0.8;
  margin: 0 0.1em 0 0;
  font-weight: 600;
}
              
            
!

JS

              
                
              
            
!
999px

Console