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.


                <div class="container">
  <div class="card">
    <h2>Coming soon...</h2>
    <p>Don't miss our launch, get notified when we're ready!</p>
    <p><small>We don't share your email with any third party companies, promise!</small></p>
    <form action="#" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" novalidate>
      <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Your email" required>
      <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="" tabindex="-1" value=""></div>
      <div class="clear"></div>
      <button name="subscribe" id="mc-embedded-subscribe" class="button" type="submit">Subscribe me</button>


                html {
  background-image: linear-gradient(-45deg, #FFC796 0%, #FF6B95 100%);
  width: 100%;
  height: 100%;
  font-family: 'Lato', sans-serif;

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;

.card {
  display: block;
  position: relative;
  width: 480px;
  max-width: 90%;
  min-height: 12em;
  background: #1B1F3B;
  color: #ffffff;
  padding: 1em 2em 2em;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  text-align: center;

.card h1 { font-family: 'Dosis', sans-serif; font-weight: 400; font-size: 3rem; }

.card form {
  display: flex;
  flex-flow: column wrap;
  align-items: center;

.card form input {
  display: flex;
  width: 80%;

.card form {
  border: 0px;
  margin-bottom: 1em;
  padding: .3em 1em;
  text-align: center;
  font-family: monospace;
  font-size: 24px;
  line-height: 30px;
  outline: none !important;
  border-radius: 5px;
  background-color: #F1FFFA;

.card form button {
  border: 0px transparent;
  padding: 1em 1.2em;
  border-radius: 5px;
  background-color: #EE6055;
  color: #1B1F3B;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  font-weight: 700;
  text-transform: uppercase;
  transition: .4s all ease-in-out;
  cursor: pointer;

.card form button:hover { background-color: #F17C73; }