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

+ add another resource


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


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.


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='jqbox_overlay'></div>
<div class='jqbox_innerhtml'>Popup content</div>
<!-- Test background content text -->
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque auctor tortor in magna varius sit amet tempus neque eleifend. Duis convallis pretium consequat. Ut vel mauris nec odio dictum ullamcorper nec luctus massa. Aenean diam ligula, tempor sed viverra in, accumsan nec lacus. Duis interdum orci ac nisi imperdiet imperdiet. Pellentesque vestibulum, massa a cursus pharetra, purus ipsum imperdiet ipsum, ac ultricies justo ipsum ac nisi. Phasellus ac sem eu nisi pellentesque porttitor sed eu felis. Ut in nisi orci, eu sagittis neque. Donec pellentesque mollis augue in tempor. Sed eget orci arcu. Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>Nullam nunc lectus, posuere quis laoreet eu, volutpat et quam. Nunc lectus mauris, tincidunt in porta sed, ultrices et elit. Nunc vestibulum eros ut mi volutpat laoreet. In eu purus justo. Quisque ornare dictum luctus. Phasellus eros ante, condimentum non sodales nec, vestibulum et felis. Mauris faucibus sapien non nulla tempor ultricies sollicitudin augue tempus. Donec nisl enim, posuere ut iaculis a, lobortis eget purus. Donec et enim ullamcorper justo molestie semper.</p>
<p>Nullam vestibulum, ligula quis pellentesque ultricies, est mi vehicula sem, vel vulputate sapien mi eu odio. Donec blandit, odio eu aliquam viverra, orci arcu iaculis ipsum, at elementum urna orci a sem. Cras a mollis urna. Ut in leo id justo elementum auctor. Nullam non libero ac sapien iaculis dapibus. Aenean aliquet elementum nunc a laoreet. Proin laoreet commodo fermentum. Nullam non mi quis odio semper interdum a id felis. In hac habitasse platea dictumst. Praesent egestas blandit pulvinar.</p>
<p>Suspendisse lobortis nulla ut justo fermentum auctor. Sed vitae mauris in dui pellentesque aliquam a nec elit. Morbi sit amet lectus augue. In iaculis tempus tellus, eget aliquam dui porta a. Proin vitae ante sapien. Duis feugiat luctus diam eu hendrerit. Pellentesque congue, sapien eget facilisis fermentum, augue felis luctus eros, semper viverra magna arcu eu quam.</p>
<p>Sed semper interdum sapien et fringilla. In a tortor augue. Fusce sapien ipsum, molestie et molestie mollis, placerat sed quam. Nulla faucibus ullamcorper diam, eu ultrices mauris feugiat eu. Integer sed velit libero. Suspendisse augue tortor, sollicitudin non facilisis quis, pharetra a neque. Sed sodales porttitor ligula vel blandit.</p>


                body {
.jqbox_overlay {
    position: fixed;
    width: 100%;
    opacity: 0.5;
    top: 0px;
    margin: 0px;
    min-height: 200px;
    height: 100%;
    background-color: #000;
.jqbox_innerhtml {
    position: fixed;
    width: 79%;
    height: 200px;
    top: 50%;
    left: 50%;
    margin-top: -100px; /* Negative half of height. */
    margin-left: -40%; /* Negative half of width. */
    padding: 1%;
    background-color: #FFF;
    border: 5px solid #CCC;
    z-index: 200;
    box-shadow: #000 0 2px 18px;