css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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

<h2>Variants</h2>

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

<br><br>

<h1>Enjoy Our Newsletter!</h1>
<form>
  <input type="text" class="text-input"><br>
  <button type="button" class="button">SIGN UP</button>
</form>
            
          
!
            
              :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;
}



            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console