Pen Settings



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


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


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.


                <div class="container">
<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi vitae mauris ipsum. Integer dui leo, ultrices vel leo vel, elementum cursus mi. Phasellus facilisis eget metus ac feugiat. Nunc euismod ac nisl ac ullamcorper. Nulla a magna quam. Proin varius faucibus luctus. Vivamus venenatis nibh id dapibus faucibus. Nam convallis iaculis ligula a mattis. Nulla lobortis ultricies convallis. Suspendisse vitae elit tortor. Nullam vestibulum laoreet enim nec elementum. Donec vitae molestie tortor.</p>

<p>Aenean orci augue, tincidunt quis feugiat non, gravida vitae dui. Sed interdum, mauris nec vestibulum auctor, sapien urna ultrices ligula, sit amet condimentum nibh velit id dolor. Praesent eu tincidunt elit. Pellentesque fermentum lectus nec lacus suscipit elementum. Nam eu ipsum nisi. Sed eget libero ac massa fringilla ornare. Quisque aliquet magna sed velit lobortis viverra. Duis sollicitudin eros at risus aliquam viverra. Fusce scelerisque dolor vel accumsan luctus. In vel massa convallis, varius massa in, interdum urna. Nunc interdum ultricies massa vitae sodales. Maecenas suscipit nunc diam, a tristique ante pulvinar quis. Pellentesque nec ante scelerisque, finibus lectus eget, congue erat. Donec turpis nisl, porta non dolor ac, rutrum sagittis mauris. Aenean molestie, nulla a sagittis tincidunt, odio magna finibus mi, a cursus turpis neque ac nunc. Donec dictum nulla vel orci aliquam egestas. </p>



  margin:0 auto; 

  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;  
  overflow: hidden;