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.


                <button class="bx--btn bx--btn--primary" type="button" data-modal-target="#modal-tec0icq4ht">Show

<div data-modal id="modal-tec0icq4ht" class="bx--modal " role="dialog" aria-modal="true" aria-labelledby="modal-tec0icq4ht-label" aria-describedby="modal-tec0icq4ht-heading" tabindex="-1">
	<div class="bx--modal-container">
		<div class="bx--modal-header">
			<p class="bx--modal-header__label bx--type-delta" id="modal-tec0icq4ht-label">Optional label</p>
			<p class="bx--modal-header__heading bx--type-beta" id="modal-tec0icq4ht-heading">Modal heading</p>
			<button class="bx--modal-close" type="button" data-modal-close aria-label="close modal">
          <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="" class="bx--modal-close__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z"></path></svg>

		<div class="bx--modal-content">
			<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean id accumsan augue. Phasellus consequat augue vitae tellus tincidunt posuere. Curabitur justo urna, consectetur vel elit iaculis, ultrices condimentum risus. Nulla facilisi. Etiam venenatis
				molestie tellus. Quisque consectetur non risus eu rutrum. </p>

		<div class="bx--modal-footer">
			<button class="bx--btn bx--btn--secondary" type="button" data-modal-close>Secondary button</button>
			<button class="bx--btn bx--btn--primary" type="button" data-modal-primary-focus>Primary button</button> </div>


                .bx--form-item {
	margin-bottom: 2rem;