Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <h2>< del > + < ins ></h2>
  This one is an <ins>ins</ins> while this is a <del>del</del>. Sit amet, consectetur adipiscing elit. Fusce molestie sem nec massa rutrum lacinia. This one has replaced text... <del>old phrase</del><ins>new phrase</ins> ligula metus, eget tincidunt tellus tincidunt non. Ut sed vehicula neque. Pellentesque <del>this is a crazy-long deleted section to see what happens when it wraps to other lines</del> morbi tristique <ins>this a single, really long block of inserted text to demonstrate what it does while wrapping multiple lines. What do you think?</ins><del>del content</del> senectus et netus et malesuada fames ac turpis egestas. The CSS is a little hacky, but the effect might be worth it.
              html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; }
html {
  min-height: 100vh;
  font-size: 10px;
body {
  min-height: 100vh;
  background: linear-gradient(to bottom, #ecf0f1 50%, #bdc3c7);
  color: rgba(52, 73, 94,1.0);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-size: 3.3rem;
  font-weight: 200;
  padding: 2em 3em;
  line-height: 1.5;
ins, del{
  text-decoration: none;
  display: inline-block;
  padding: 0 .3em;
ins {
  background: #83d5a8;
  height: auto;
  border-radius: .3em;
  display: inline; 
  -webkit-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
  margin-left: .07em;
  margin-right: .07em;
del {
  background: rgba(231, 76, 60,.5);
  cursor: no-drop;
  position: relative;
  top: .2em;
  height: 1.31em;
  width: .4em;
  line-height: 1.35;
  overflow: hidden;
  color: transparent;
  margin: -.4em .07em -.05em .07em;
  padding: 0 0 .1em 0;
  -webkit-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: .3em;
  transition: padding-left ease .3s, padding-right ease .3s, color ease .15s;
del:hover {
  width: auto;
  color: #962e22;
  display: inline;
  padding: 0 .35em 0em 0.35em;
  line-height: unset;
  position: unset;
  top: unset;
  height: unset;
  transition: padding-left ease .3s, padding-right ease .3s, color ease .7s;
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.