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

              
                <ul class="sub-menu" style="margin-bottom: 20px; overflow: hidden; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); display: none;">
	<li id="menu-item-725" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-725"><a href="https://workstation.staging.wpengine.com/digital-marketing-strategy/" itemprop="url"><span itemprop="name">Digital Marketing Strategy</span></a></li>
	<li id="menu-item-724" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-724"><a href="https://workstation.staging.wpengine.com/drupal-website-development/" itemprop="url"><span itemprop="name">Drupal Web Development</span></a></li>
	<li id="menu-item-723" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-723"><a href="https://workstation.staging.wpengine.com/e-commerce-website-development/" itemprop="url"><span itemprop="name">E-Commerce Web Development</span></a></li>
	<li id="menu-item-722" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-722"><a href="https://workstation.staging.wpengine.com/genesis-framework-development/" itemprop="url"><span itemprop="name">Genesis Framework Development</span></a></li>
	<li id="menu-item-721" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-721"><a href="https://workstation.staging.wpengine.com/infographic-design/" itemprop="url"><span itemprop="name">Infographic Design</span></a></li>
	<li id="menu-item-720" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-720"><a href="https://workstation.staging.wpengine.com/local-seo-strategy/" itemprop="url"><span itemprop="name">Local SEO Strategy</span></a></li>
	<li id="menu-item-719" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-719"><a href="https://workstation.staging.wpengine.com/magento-website-development/" itemprop="url"><span itemprop="name">Magento Web Development</span></a></li>
	<li id="menu-item-718" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-718"><a href="https://workstation.staging.wpengine.com/mobile-application-development/" itemprop="url"><span itemprop="name">Mobile App Development</span></a></li>
	<li id="menu-item-717" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-717"><a href="https://workstation.staging.wpengine.com/pay-per-click/" itemprop="url"><span itemprop="name">Pay Per Click</span></a></li>
	<li id="menu-item-716" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-716"><a href="https://workstation.staging.wpengine.com/responsive-web-design/" itemprop="url"><span itemprop="name">Responsive Web Design</span></a></li>
	<li id="menu-item-715" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-715"><a href="https://workstation.staging.wpengine.com/search-engine-optimization/" itemprop="url"><span itemprop="name">Search Engine Optimization</span></a></li>
	<li id="menu-item-714" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-714"><a href="https://workstation.staging.wpengine.com/social-media-integration/" itemprop="url"><span itemprop="name">Social Media Integration</span></a></li>
	<li id="menu-item-713" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-713"><a href="https://workstation.staging.wpengine.com/social-media-optimization/" itemprop="url"><span itemprop="name">Social Media Optimization</span></a></li>
	<li id="menu-item-712" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-712"><a href="https://workstation.staging.wpengine.com/ul-ux-design/" itemprop="url"><span itemprop="name">UL UX Design</span></a></li>
	<li id="menu-item-711" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-711"><a href="https://workstation.staging.wpengine.com/website-design-services/" itemprop="url"><span itemprop="name">Website Design Services</span></a></li>
</ul>
              
            
!

CSS

              
                .genesis-nav-menu .sub-menu {
    border-top: 2px solid #ff4800;
    left: -9999px;
    margin-top: -2px;
    opacity: 0;
    position: absolute;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    z-index: 99;
    width: 405px;
}

@media screen and (min-device-width: 481px) and (max-device-width: 880px) {
  .genesis-nav-menu .sub-menu {
    border-top: 2px solid #ff4800;
    left: -9999px;
    margin-top: -2px;
    opacity: 0;
    position: absolute;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    width: 40%;
    z-index: 99;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}
}
              
            
!

JS

              
                
              
            
!
999px

Console