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.


If you came to conquer, you'll be king for a day
But you too will deteriorate and quickly fade away
And believe these words you hear when you think your path is clear
We have no control
We have no control
We have no control
We do not understand, you have no control
You are not in command
You have no control
We have no control
No control, no control
You have no control

  <dialog open>
    <h1>We have no control</h1>


                div {
  background: linear-gradient(45deg, #53c8ff, #ff0067);
  max-width: 600px;
  transform: rotate(0);
  position: relative;
  padding: 2rem;

dialog {
  align-items: center;
  background: rgba(255, 255, 255, var(--bg-opacity, 1));
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  height: 80%;
  inset: 0;

@media(prefers-reduced-transparency: no-preference) {
  dialog  {
    --bg-opacity: 0.2;

* {
  box-sizing: border-box;

html, body {
  height: 100%;

body {
  font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  margin: 0;

h1 {
  margin: 0;