Pen Settings



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


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


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.


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.


  <h1>mix-blend-mode issue</h1>
  <p>Scroll this container to see the effect.</p>
  <p>When using <code>mix-blend-mode</code> in a container with <code>overflow: scroll</code> that has its own stacking context, the “scrolled-in” content remains invisible.</p>
  <p>If you can read this all the way to the end, your browser is doing a good job.</p>

<p><small>As of 2017-12-30, if the parent has a child with <code>mix-blend-mode</code>, Chrome on Mac does not repaint when scrolling said parent.</small></p>


                body {
  width: 18em;
  margin: 0 auto;
  padding: 1em;
main {
  overflow-x: hidden;
  overflow-y: scroll;
  position: relative;
  z-index: 1;
  height: 9.5em;
  margin: 1em auto; 
  padding: .5em 2em;
  border: 1px dashed #999;
h1 {
  mix-blend-mode: darken;
  font-size: inherit;

/* below is just stuff to make things look nice */
*::after {
	box-sizing: inherit;
	margin: 0;
html {
	box-sizing: border-box;
	color: #000;
	font: 100%/1.5 sans-serif;