Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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>This webpage has no CSS written by its developer!</header>
<h1>Welcome to the new world of designing modern websites with only HTML. 😎</h1>
<p>This is <a href="https://newcss.net/" target='_blank'>new.css</a>. A <i>new</i> way of writing responsive webpages. No CSS, no JS, just HTML.</p>
<a href="https://newcss.net/usage"><button>Get Started</button></a>
<br><br>
<p>Get to know its features: </p>
<ul>
	<li>Useful for a simple blog.</li>
	<li>Responsive out-of-the-box.</li>
	<li>Renders markdown-generated HTML.</li>
	<li>Supports a wide variety of elements like for <code>console.log('This is a code line.');</code></li>
</ul>
<br><br>
<p>Along with these you can also have other HTML features styled beforehand. See the following examples: </p>
<details>
	<summary>Are you serious you didn't write any CSS?</summary>
	<img src="https://media.giphy.com/media/jErnybNlfE1lm/giphy.gif" alt="Hell to the yeah GIF">
</details>
<blockquote>
  "The greatest glory in living lies not in never falling, but in rising every time we fall." <i> -Nelson Mandela</i>
</blockquote>
<img src="https://images.pexels.com/photos/3278768/pexels-photo-3278768.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940" alt="Image">
<figcaption><center>Image from <a href="http://pexels.com/" target="_blank">Pexels</a>.</center></figcaption>
<br>
<center>😎</center>
              
            
!

CSS

              
                /* Really? (*  ̄︿ ̄) */
              
            
!

JS

              
                // Really?  ̄へ ̄
              
            
!
999px

Console