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.


                <span class="corner"></span>

      <h1>Hello World!</h1>
  <img src="" alt="Something" />
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae nostrum deserunt explicabo doloremque accusamus aut minima dolor aperiam, nam quia velit odit voluptatum nemo iste repellendus fugit! Aliquid maxime eligendi, suscipit vero molestiae culpa, iure rerum repellat facilis voluptatibus inventore corporis beatae quae, repudiandae laborum iste aliquam facere. Labore, numquam ab, eum porro rem explicabo, incidunt repudiandae vitae aut distinctio quasi sequi unde!</p>


                @background: #ecf0f1;
@accent: #e74c3c;
@text_color: #111;

html, body {
  height: 100%;  
  width: 100%;

body {
  background: @background;
  position: relative;
  font-family: 'Ubuntu', sans-serif;
  line-height: 1.5;
  color: @text_color;

h1 {
  font-size: 3em;
  font-weight: 700;
  color: @accent;

.corner {
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
  border-color: transparent @accent @accent transparent;
  border-style: solid;
  border-width: 20em;
  width: 0;
  height: 0;
  z-index: -1;

article {
  margin: 1.5em auto 0;
  width: 100%;
  max-width: 58em;
  padding: 0 2em;
  box-sizing: border-box;

article img,
article header {
  margin-bottom: 1.5em;

article img {
  max-width: 100%;

article p {
  column-count: 2;
  column-gap: 2em;
  text-align: justify;