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

              
                <textarea id="premiumskinsandicons-snow">
    <h1>The Incomparable Yosemite</h1>
    <p>The most famous and accessible of these ca&ntilde;on valleys,&nbsp;<span style="background-color: #fbeeb8;">and also the one that presents their most striking and sublime features on the grandest scale</span>, is the Yosemite, situated in the basin of the Merced River at an elevation of 4000 feet above the level of the sea. It is about&nbsp;<em><span style="color: #2dc26b;">seven miles long</span></em>, half a mile to a mile wide, and nearly a mile deep in the&nbsp;<span style="background-color: #f8cac6;">solid granite flank</span>&nbsp;of the range.&nbsp;</p>
    <p><em>The walls are made up of rocks</em>, mountains in size, partly separated from each other by side ca&ntilde;ons, and they are so sheer in front, and so compactly and harmoniously arranged on a level floor, that the Valley, comprehensively seen, looks like an immense hall or temple lighted from above.</p>
</textarea>
              
            
!

CSS

              
                
              
            
!

JS

              
                
tinymce.init({
  selector: 'textarea#premiumskinsandicons-snow',
  skin: 'snow',
  icons: 'thin',
  plugins: 'quickbars image lists code table codesample',
  toolbar: 'formatselect | forecolor backcolor | bold italic underline strikethrough | link image blockquote codesample | align bullist numlist | code ',
  height: 400,
  content_style: 'body { margin: 2rem 10%; }',
  content_css: '//www.tiny.cloud/css/codepen.min.css'
});


              
            
!
999px

Console