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

              
                <head>
<title>Nesting columns - twitter bootstrap grid example</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<style>
img {
border:1px solid silver;
padding:3px
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container">
<div class="row">
<div class="col-md-4">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis malesuada faucibus condimentum. Nullam sit amet vehicula neque, eget dictum nisl. In magna ante, vehicula id velit nec, aliquet vehicula tortor. Duis dignissim scelerisque quam sit amet gravida. Nulla rutrum nibh eget neque venenatis dignissim. Suspendisse congue augue consequat, volutpat est eu, faucibus felis. Cras in turpis nec turpis maximus luctus. Integer id efficitur arcu. Pellentesque arcu ante, viverra et nisl at, tincidunt efficitur arcu. In malesuada nibh eros, eget pretium metus interdum vitae.</p>
<div class="row">
<div class="col-md-4">
<img src="http://www.w3resource.com/images/logo.png">
</div>
<div class="col-md-4">
<img src="http://www.w3resource.com/images/logo.png">
</div>
<div class="col-md-4">
<img src="http://www.w3resource.com/images/logo.png">
</div>
</div>
</div>
</div>
</body>
              
            
!

CSS

              
                
              
            
!

JS

              
                

              
            
!
999px

Console