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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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.


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.

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.


  <div class="box tartan3">


                * {
  margin: 0;

.box {
  height: 100vh;
  display: flex;
  align-items: center;

p {
  width: 100%;
  text-align: center;
  letter-spacing: 0.05em;
  font-size: 32px;
  font-weight: 700;
  color: #dedee8;
  text-shadow: 0.7px 0.7px 1px #000;

.tartan3 {
  background: repeating-linear-gradient(to bottom, rgba(45,45,255,0.5), rgba(45,45,255,0.5) 3px, rgba(27,38,84,0.7) 3px 6px, rgba(255,255,46,0.8) 6px 7px, rgba(27,38,84,0.7) 7px 8px, rgba(255,255,255,0.8) 8px 9px, rgba(27,38,84,0.7) 9px 10px, rgba(0,99,101,0.6) 10px 15px, rgba(255,21,62,0.7) 15px 19px, rgba(27,38,84,0.7) 19px 20px, rgba(255,21,62,0.7) 20px 24px, rgba(255,255,255,0.8) 24px 25px, rgba(255,21,62,0.7) 25px 29px, rgba(27,38,84,0.7) 29px 30px, rgba(255,21,62,0.7) 30px 34px, rgba(0,99,101,0.6) 34px 39px, rgba(27,38,84,0.7) 39px 40px, rgba(255,255,255,0.8) 40px 41px, rgba(27,38,84,0.7) 41px 42px, rgba(255,255,46,0.8) 42px 43px, rgba(27,38,84,0.7) 43px 46px, rgba(45,45,255,0.5) 46px 49px, rgba(27,38,84,0.7) 49px 98px),
              repeating-linear-gradient(to right, rgba(45,45,255,0.6), rgba(45,45,255,0.6) 3px, rgba(27,38,84,0.8) 3px 6px, rgba(255,255,46,0.9) 6px 7px, rgba(27,38,84,0.8) 7px 8px, rgba(255,255,255,0.9) 8px 9px, rgba(27,38,84,0.8) 9px 10px, rgba(0,99,101,0.7) 10px 15px, rgba(255,21,62,0.8) 15px 19px, rgba(27,38,84,0.8) 19px 20px, rgba(255,21,62,0.8) 20px 24px, rgba(255,255,255,0.9) 24px 25px, rgba(255,21,62,0.8) 25px 29px, rgba(27,38,84,0.8) 29px 30px, rgba(255,21,62,0.8) 30px 34px, rgba(0,99,101,0.7) 34px 39px, rgba(27,38,84,0.8) 39px 40px, rgba(255,255,255,0.9) 40px 41px, rgba(27,38,84,0.8) 41px 42px, rgba(255,255,46,0.9) 42px 43px, rgba(27,38,84,0.8) 43px 46px, rgba(45,45,255,0.6) 46px 49px, rgba(27,38,84,0.8) 49px 98px);