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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

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

              
                <div class="mainwrap">

  <div class="left_wrap">
    Etiam ut ultricies risus. Morbi nec odio sagittis, consectetur tellus in, fermentum eros. Donec tincidunt massa porttitor, consectetur neque sit amet, sodales elit. Aliquam suscipit luctus nibh non imperdiet. Ut tincidunt metus non lacus aliquam egestas. Donec eu libero a dui dapibus sodales. Duis augue velit, dapibus in iaculis quis, placerat eu tortor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vivamus a porttitor sem. Ut a feugiat urna, eget blandit metus. Sed quis semper augue. Vivamus mi mauris, interdum in sodales vel, vehicula in mi. Nulla dapibus nisi magna, a sodales metus interdum a. Fusce dignissim velit eget neque feugiat fringilla. Proin tincidunt mi volutpat tristique posuere. 
  </div>
  
  <div class="right_wrap">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam pretium est sollicitudin, sollicitudin nulla ac, consectetur orci. Maecenas semper condimentum mattis. Duis ultrices eu tortor in semper. Nullam vulputate elit quis semper faucibus. Quisque eros nulla, gravida in porttitor ac, tristique eget enim. Donec venenatis lectus eget ornare suscipit. Nam tempus vulputate risus eget tempor.
  </>
  
  
  
  
</div>
              
            
!

CSS

              
                .mainwrap {
	display:flex;
	margin:1% auto 1% auto;
	position:relative;
	width:90%;
}

.left_wrap {
  background:#FF0000;
	margin: 0 0 0 0;
	position:relative;
	width:60%;
}

.right_wrap {
  background:#DF5487;
	margin: 1% 0 1% 1%;
	position:relative;
	width:30%;
}
              
            
!

JS

              
                
              
            
!
999px

Console