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

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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <div data-overflow-menu tabindex="0" aria-label="Overflow" class="bx--overflow-menu" role="button" aria-haspopup="true" aria-expanded="false">
	<svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--overflow-menu__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="3" r="1"></circle><circle cx="8" cy="8" r="1"></circle><circle cx="8" cy="13" r="1"></circle></svg>
	<ul class="bx--overflow-menu-options" tabindex="-1" role="menu" aria-label="Overflow" data-floating-menu-direction="bottom">
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem" title="An example option that is really long to show what should be done to handle long text" data-floating-menu-primary-focus>
        <div class="bx--overflow-menu-options__option-content">
          An example option that is really long to show what should be done to handle long text
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 2
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 3
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 4
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  bx--overflow-menu-options__option--disabled  " role="presentation" aria-disabled="true">
			<button class="bx--overflow-menu-options__btn" role="menuitem" tabindex="-1">
        <div class="bx--overflow-menu-options__option-content">
          Disabled
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option   bx--overflow-menu-options__option--danger " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Danger option
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Add
        </div>
        <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1z"></path></svg>
      </button>
		</li>
	</ul>
</div>

<div data-overflow-menu tabindex="0" aria-label="Overflow" class="bx--overflow-menu" role="button" aria-haspopup="true" aria-expanded="false">
	<svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--overflow-menu__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="3" r="1"></circle><circle cx="8" cy="8" r="1"></circle><circle cx="8" cy="13" r="1"></circle></svg>
	<ul class="bx--overflow-menu-options bx--overflow-menu--flip" tabindex="-1" data-floating-menu-direction="bottom" role="menu" aria-label="Overflow">
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem" title="An example option that is really long to show what should be done to handle long text" data-floating-menu-primary-focus>
        <div class="bx--overflow-menu-options__option-content">
          An example option that is really long to show what should be done to handle long text
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 2
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 3
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Option 4
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option  bx--overflow-menu-options__option--disabled  " role="presentation" aria-disabled="true">
			<button class="bx--overflow-menu-options__btn" role="menuitem" tabindex="-1">
        <div class="bx--overflow-menu-options__option-content">
          Disabled
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option   bx--overflow-menu-options__option--danger " role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Danger option
        </div>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option" role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Add
        </div>
        <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1z"></path></svg>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option bx--overflow-menu-options__option--disabled" role="presentation" aria-disabled="true" }>
			<button class="bx--overflow-menu-options__btn" role="menuitem" tabindex="-1">
        <div class="bx--overflow-menu-options__option-content">
          Add
        </div>
        <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1z"></path></svg>
      </button>
		</li>
	</ul>
</div>

<div data-overflow-menu tabindex="0" aria-label="Overflow" class="bx--overflow-menu" role="button" aria-haspopup="true" aria-expanded="false">
	<svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" class="bx--overflow-menu__icon" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><circle cx="8" cy="3" r="1"></circle><circle cx="8" cy="8" r="1"></circle><circle cx="8" cy="13" r="1"></circle></svg>
	<ul class="bx--overflow-menu-options bx--overflow-menu--flip" tabindex="-1" data-floating-menu-direction="bottom" role="menu" aria-label="Overflow">
		<li class="bx--overflow-menu-options__option" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem" title="An example option that is really long to show what should be done to handle long text" data-floating-menu-primary-focus>
				<div class="bx--overflow-menu-options__option-content">
					An example option that is really long to show what should be done to handle long text
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem">
				<div class="bx--overflow-menu-options__option-content">
					Option 2
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem">
				<div class="bx--overflow-menu-options__option-content">
					Option 3
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem">
				<div class="bx--overflow-menu-options__option-content">
					Option 4
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option bx--overflow-menu-options__option--disabled" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem" tabindex="-1">
				<div class="bx--overflow-menu-options__option-content">
					Disabled
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option bx--overflow-menu-options__option--danger" role="presentation">
			<a href="https://www.ibm.com" class="bx--overflow-menu-options__btn" role="menuitem">
				<div class="bx--overflow-menu-options__option-content">
					Danger option
				</div>
			</a>
		</li>
		<li class="bx--overflow-menu-options__option" role="presentation">
			<button class="bx--overflow-menu-options__btn" role="menuitem">
        <div class="bx--overflow-menu-options__option-content">
          Add
        </div>
        <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1z"></path></svg>
      </button>
		</li>
		<li class="bx--overflow-menu-options__option bx--overflow-menu-options__option--disabled" role="presentation" aria-disabled="true" }>
			<button class="bx--overflow-menu-options__btn" role="menuitem" tabindex="-1">
        <div class="bx--overflow-menu-options__option-content">
          Add
        </div>
        <svg focusable="false" preserveAspectRatio="xMidYMid meet" style="will-change: transform;" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" aria-hidden="true"><path d="M8.5 7.5V3h-1v4.5H3v1h4.5V13h1V8.5H13v-1z"></path></svg>
      </button>
		</li>
	</ul>
</div>
              
            
!

CSS

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

JS

              
                
              
            
!
999px

Console