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.


                <p>Только пользователям, достигшим уровня не менее <span class="karma">крутость <meter value="75" max="100"></meter>75%</span> и имеющим статус <span class="hero">супергерой</span>, доступна опция <span class="reload" title="Может, не надо?..">Перезагрузить Вселенную</span></p>


                body {
  max-width: 520px;
  margin: 20px auto 0;

span {
  display: inline-block;

.karma {
  background: #dcb;
  width: 7em;
  font: 11px/1.2 sans-serif;
  text-align: center;
  padding: 2px;
  vertical-align: text-bottom;

.karma meter {
  display: block;
  width: 100%;

.hero {
  font: .9em/1.25 cursive;
  background: radial-gradient(circle at .75em 50%, #fff 4px, red 4px, red 5px, transparent 5px), yellow;
  padding: .2em .5em .3em 1.5em;
  border-radius: 2em;
  box-shadow: 1px 1px rgba(0,0,0,.4), -1px -1px 1px 0 #ff8;

.reload {
  width: 8em;
  border-radius: .25em;
  padding: .25em.5em;
  background: linear-gradient(transparent,rgba(0,0,0,.5)), red;
  color: #fff;
  font: bold 14px/1.2 sans-serif;
  text-align: center;
  vertical-align: middle;
  cursor: not-allowed;