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

              
                <!-- Nothing to see here -->
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

html {
  --bg: #181818;
  background: var(--bg);
}

body {
  --color: #282828;
  --medium: #222;
  --light: #4448;
  --dark: #1118;
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  white-space: pre;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:
    repeating-radial-gradient(circle, var(--light) 0, var(--dark) 10vmin),
    var(--medium)
    ;
  
/*     
  width: 90vmin;
  height: 90vmin;
   border-radius: 50%;
  background: var(--medium);
  box-shadow:
    0 0 6vmin var(--light),
    0 0 6vmin 10vmin var(--medium),
    inset 0 0 4vmin 4vmin var(--dark),
    inset 0 0 6vmin 10vmin var(--color),
    inset 0 0 0 12vmin var(--light),
    inset 0 0 4vmin 16vmin var(--dark),
    inset 0 0 6vmin 22vmin var(--color),
    inset 0 0 0 24vmin var(--light),
    inset 0 0 4vmin 28vmin var(--dark),
    inset 0 0 6vmin 32vmin var(--color),
    inset 0 0 0 36vmin var(--light),
    inset 0 0 4vmin 38vmin var(--dark); */
}

body::after {
  content: "The End";
  font-family: Parisienne, serif;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #eee;
  font-size: 13vmin;
  text-shadow: 2vmin 1vmin black;
  transform: translate(-50%, -50%) rotate(-10deg)
}
              
            
!

JS

              
                // Nothing to see here either!
              
            
!
999px

Console