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 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

              
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sed dui in libero venenatis rutrum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut et aliquam libero. Fusce odio lorem, varius molestie hendrerit dapibus, pellentesque eget libero. Suspendisse tellus urna, sollicitudin et aliquam accumsan, pulvinar non nisl. Quisque vulputate auctor aliquet. Donec et metus augue. In semper dignissim molestie. Fusce blandit consequat malesuada. Duis turpis velit, ornare in dignissim sit amet, tempus nec tellus. Nulla neque est, aliquet nec sodales sit amet, mollis in ante. Nam ultricies, lacus nec tincidunt pellentesque, massa lacus porttitor turpis, nec bibendum lacus odio a lorem. Aliquam erat volutpat. Vestibulum placerat bibendum erat, sit amet porttitor felis malesuada in. Duis cursus turpis eu magna sollicitudin non malesuada metus malesuada.</p>
              
            
!

CSS

              
                @import "compass/css3";

$columngap: 20px; /* padding between columns */
$columncount: 3; /* # of columns */
$fontfamily: sans-serif;
$fontsize: 16px;
$linehieght: 1.4em;

p {
  font-size: $fontsize;
  font-family: $fontfamily;
  text-align: justify;			
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  line-height: $linehieght;
  
  -webkit-column-count: $columncount;
  -moz-column-count: $columncount;
  column-count: $columncount;
  
  -webkit-column-gap: $columngap;
  -moz-column-gap: $columngap;
  column-gap: $columngap; }

::selection { background: magenta; color: #fff; }
::-moz-selection { background: magenta; color: #fff; }
              
            
!

JS

              
                
              
            
!
999px

Console