Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML

              
                <section class="section">
  <div class="container">
    <div class="columns">
      
      <div class="column">
        <div class="box">
          
          <ul class="inline-list">
            <li><a href="">Home</a></li>
            <li><a href="">Services</a></li>
            <li><a href="">Blog</a></li>
          </ul>
          
          <hr>

          <form class="inline-form">
            <input type="email" class="inline-form--field" placeholder="Email address">
            <button type="submit" class="inline-form--button">Sign Up</button>
          </form>
          <p class="help">View on Firefox to see the effect of <code>border-*-*-radius</code></p>

          <hr>

          <blockquote>
            <p>
              Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
            </p>
          </blockquote>

          <hr>

        </div>
      </div>

      
      
      <!-- Right to Left -->
      <div class="column" dir="rtl">
        <div class="box">
          <ul class="inline-list">
            <li><a href="">الرئيسية</a></li>
            <li><a href="">خدماتنا</a></li>
            <li><a href="">المدونة</a></li>
          </ul>

          <hr>

          <form class="inline-form">
            <input type="email" class="inline-form--field" placeholder="بريدك الإلكتروني">
            <button type="submit" class="inline-form--button">
               سجل معنا
            </button>
          </form>

          <hr>

          <blockquote>
            <p>
              ها نحن ذا ، على دروب كنزنا. نسير معاً و أمالنا تسير قبلنا. من غيرنا؟ يقطع درباً مثلنا! درباً خطيرة إلى الجزيرة ، من غيرنا؟
            </p>
          </blockquote>

          <hr>

        </div>
      </div>
    </div>

  </div>
</section>
              
            
!

CSS

              
                html {
  background: #e0e0e0;
}

/* Inline list */
.inline-list li {
  display: inline-block;
}

.inline-list li:not(:last-child) {
  margin-inline-end: 1rem;
}


/* Inline form */
.inline-form {
  display: flex;
}

.inline-form--field {
  border: 1px solid #aaa;
  padding: 0.5rem;
  border-inline-end: 0;
  margin-inline-end: 0;
  
  /* Firefox only */
  border-start-start-radius: 10px;
  border-end-start-radius: 10px;
}

.inline-form--button {
  border: 1px solid #aaa;
  padding: 0.5rem;
  margin-inline-start: 0;
  
  /* Firefox only */
  border-start-end-radius: 10px;
  border-end-end-radius: 10px;
}



/* Blockquote */
blockquote {
  border-inline-start: 4px solid #aaa;
  padding: 0.75rem;
  padding-inline-start: 1.75rem;
  background-color: #f5f5f5;
}

              
            
!

JS

              
                
              
            
!
999px

Console