Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <div class="flex-container">
  <h1>We make your life that bit easier.</h1>
  <h2>Stress free solutions, so intuitive that you can just sit back and relax.</h2>
  <p>Solutions which intuitively fit like a hand in a glove. No one has to tell you how to use a glove, because its shape fits perfectly with that of the hand. The wearer intuitively guides their fingers into the form of the glove. And if the glove fits... that’s what equates with a successful User Experience! In our opinion, every solution should be tailored to a custom fit enabling you to sit back and relax just as though you were winding down in your favourite armchair.</p>
  <h2>We like it simple, even if it's complicated.</h2>
  <p>We strive to create ease of use in all of our projects: in websites and mobile apps, in customised desktop interfaces for control rooms and call centres and also in normal everyday products and their packaging. We have discovered that the key to success is in creating solutions which your clients and employees find self-explanatory and easy to use. An added bonus is that this saves on development, training and support costs.</p>
  <h2>Our designs are responsive.</h2>
  <p>By responsive design, we mean the use of a design technique that automatically adapts your website and web applications to a range of different devices. Whether it be a smartphone, a tablet, a desktop or a TV, the content is always optimised to the screen of the device currently in use. And all of this is achieved without an app. How does this work? Our website has the answer.</p>
</div>  
              
            
!

CSS

              
                .flex-container
{
  /* general styling */
  font-family: Arial;
  
  /* flexbox stuff */
  -webkit-column-count: 4;
  -webkit-column-gap: 3em;
  -webkit-column-rule: 1px solid #000;
}

h1
{
  /* flexbox stuff */
  -webkit-column-span: all;
}
              
            
!

JS

              
                
              
            
!
999px

Console