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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


                <h1>Lorem Ipsum Dirum</h1>

<p>Lorem ipsum is a pseudo-Latin text used in web design, typography, layout, and printing in place of English to emphasise design elements over content. It's also called placeholder (or filler) text. It's a convenient <a href="#">tool for mock-ups</a>. It helps to outline the visual elements of a document or presentation, eg typography, font, or layout. Lorem ipsum is mostly a part of a Latin text by the classical author and philosopher Cicero. Its words and letters have been changed by addition or removal, so to deliberately render its content nonsensical; it's not genuine, correct, or comprehensible Latin anymore.</p>

<h2>Pario Dario Lipso</h2>

<p>While lorem ipsum's still resembles <a href="#">classical Latin</a>, it actually has no meaning whatsoever. As Cicero's text doesn't contain the letters K, W, or Z, alien to latin, these, and others are often inserted randomly to mimic the typographic appearence of European languages, as are digraphs not to be found in the original.</p>


<p>In a professional context it often happens that private or <a href="#">corporate clients</a> corder a publication to be made and presented with the actual content still not being ready. Think of a news blog that's filled with content hourly on the day of going live. However, reviewers tend to be distracted by comprehensible content, say, a random text copied from a newspaper or the internet</p>


<h1>Enjoy Our Newsletter!</h1>
  <input type="text" class="text-input"><br>
  <button type="button" class="button">SIGN UP</button>


                :root {
  --stripe-green: #0ad093;
  --stripe-purple: #6672e1;
  --main-bg-color: #f6f9fc;
  --main-text-color: #515f7e;
  --light: #ffffff;
  --hover-opacity: 0.8;
  --border-radius: 3px;

html, body {
  background-color: var(--main-bg-color);
  min-height: 100%;
  font-family: 'Lato', sans-serif;
  color: var(--main-text-color);
  font-size: 16p;

h1 {
  color: var(--stripe-green);

h2 {
  color: var(--stripe-purple);

a {
  color: var(--stripe-purple);
a:hover {
  opacity: var(--hover-opacity);
a:active, a:hover {
  outline: none;

.text-input {
  border: 1px solid #c0c0c0;
  padding: 5px;
  box-shadow: none;
  text-shadow: none;
  outline: none;
  border-radius: 3px;
.text-input:focus, text-input:active {
  outline: none;
  border: 1px solid var(--stripe-green);

button {
  cursor: pointer;
  background-color: var(--stripe-green);
  border-radius: var(--border-radius);
  border: none;
  box-shadow: none;
  color: var(--light);
  font-size: 14px;
  margin-top: 10px;
  padding: 5px 15px;
button:hover {
  opacity: var(--hover-opacity);
button:active, button:focus {
  outline: none;