Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <div class="simple-admin">
  <div data-component="sidebar">
    <div class="sidebar">
      <ul class="list-group flex-column d-inline-block first-menu">
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495392326/Reporting_hj9z0i.png" height="40" class="mr-4"><span>Reporting</span>
          </a>
          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
                <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495403294/Dashboard_kcz278.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
                  Dashboard
                </div>
              </a>
            </li>
            <li class="list-group-item">
              <a href="#">
                <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495403862/Yoast_SEO_m04eam.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
                  Yoast SEO
                </div>
              </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495396653/General_Content_o7lvdo.png" height="40"class="mr-4"><span>General Content</span>
          </a>
         
          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495404616/Pages_axm9as.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Pages
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495404684/Posts_z9gahq.svg" height="33" width="40"  class="ml-2 mr-4 d-inline-block text-center">
                <div class="text d-inline-block align-middle">
          Posts
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495404748/Blog_Assist_uo3f89.svg" height="32" width="40"  class="ml-2 mr-4 d-inline-block text-center">
                <div class="text d-inline-block align-middle">
          Blog Assist
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495404814/Testimonials_g1e2l1.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block text-center">
                <div class="text d-inline-block align-middle">
          Testimonials
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495404872/Team_Members_ttaqh0.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block text-center">
                <div class="text d-inline-block align-middle">
          Team Members
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495397435/AgentFire_Arsenal_hz4e57.png" height="40" class="mr-4"><span>AgentFire Arsenal</span>
          </a>
          <ul class="list-group flex-column d-inline-block submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495399917/REV_CTA_v0hi6i.png" height="46" class="ml-2 mr-3 d-inline-block align-middle">
                <div class="text d-inline-block align-middle">
          REV CTA  
          <span>Next Gen Call to Action</span>
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495402287/Lead_Pages_cowona.png" height="46" class="ml-2 mr-3 d-inline-block align-middle">
                <div class="text d-inline-block align-middle">
          Lead Pages  
          <span>Instant Landing Page</span>
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495402402/Hyper_Local_ym0uox.png" height="47" class="ml-2 mr-3 d-inline-block align-middle">
                <div class="text d-inline-block align-middle">
          Hyper-Local  
          <span>Area Content Pages on Steroids</span>
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495402554/Listing_Showcase_xg4y6w.png" height="45" class="ml-2 mr-3 d-inline-block align-middle">
                <div class="text d-inline-block align-middle">
          Listing Showcase 
          <span>Create & Manage Your Listings</span>
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495402635/Home_Values_c003ks.png" height="46" class="ml-2 mr-3 d-inline-block align-middle">
                <div class="text d-inline-block align-middle">
          Home Values 
          <span>Automated Values w/ Personality</span>
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495397501/Lead_Manager_zt3anl.png" height="40" class="mr-4"><span>Lead Manager</span>
          </a>

          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405179/Comments_axmnrq.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Comments
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405216/Forms_gkteif.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Forms
        </div>
          </a>
            </li>
            
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405262/Home_Valuatoin_py1ibg.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Home Evaluation
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495397541/Media_ngp1vn.png" height="40" class="mr-4"><span>Media</span>
          </a>
           <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405613/Media_Library_qsttfw.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Media Library
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405666/Slider_edgw8e.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Slider
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495398436/Settings_i9cyhe.png" height="40" class="mr-4"><span>Settings</span>
          </a>
          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405780/Users_mcyvbz.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Users
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405821/AgentFire_Settings_et7btl.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          AgentFire Settings
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405873/Plugin_Settings_mvgbxf.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Plugin Settings
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405918/WordPress_Settings_ltffgk.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          WordPress Settings
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495405981/Site_Appearance_pbkssx.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Site Appearance
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495398576/Support_sy9gbk.png" height="40" class="mr-4"><span>Support</span>
          </a>
          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406094/Training_i9knhl.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Training
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406132/Help_Center_tynln3.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Help Center
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406175/Ask_a_Question_ybb2ji.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Ask a Question
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
        <li class="list-group-item py-2">
          <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495398626/Admin_aux3ce.png" height="40" class="mr-4"><span>Admin</span>
          </a>
          <ul class="list-group flex-column d-inline-block submenu svg-submenu">
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406247/Manage_Plugins_tjd7p9.svg" height="32" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Manage Plugins
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406288/AgentFire_Settings_y8dhzm.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          AgentFire Settings
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="http://res.cloudinary.com/dt9b7pad3/image/upload/v1495406336/Theme_Appearance_wld9rt.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Theme Appearance
        </div>
          </a>
            </li>
            <li class="list-group-item">
              <a href="#">
            <img src="https://res.cloudinary.com/dt9b7pad3/image/upload/v1495406380/Tools_qsfsr4.svg" height="33" width="40" class="ml-2 mr-4 d-inline-block">
                <div class="text d-inline-block align-middle">
          Tools
        </div>
          </a>
            </li>
          </ul>
        </li> <!-- /.list-group-item -->
        
      </ul>
    </div> <!-- /.sidebar -->
  </div>
</div> <!-- /.simple-admin -->
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

$browser-context: 16; 
@function em($pixels, $context: $browser-context) {
  @return #{$pixels/$context}em;
}

body {
  background: #ddd;
}

[data-component='sidebar'] {
  .sidebar {
    position: fixed;
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
  }
  .first-menu {
    position: fixed;
    background-color: #fff;
    height: 100vw;
    width: 83px;
    top: 0px;
    overflow: hidden;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    .list-group-item {
      border-right: 0;
      &:not(last-child) {
        border-bottom: 0;
      }
      &:hover {
        background-color: #f6f6f6;
      }
    }
    a {
      white-space: nowrap;
      color: #8e8e8e;
      font-weight: 400;
      font-size: em(14);
      span {
        opacity: 0;
        visibility: hidden;
    }
    }
    &:hover span {
      opacity: 1;
      visibility: visible;
    }
  }
  .first-menu:hover {
    width: 300px;
  }
  
  .submenu {
    position: fixed;
    left: 300px;
    width: 300px;
    top: 0px;
    background-color: #0075BA;
    height: 100vw;
    opacity: 0;
    max-width: 0;
    overflow: auto;
    animation-name: slideOut;
    -webkit-transition-duration: opacity 0.3s;
    -moz-transition-duration: opacity 0.3s;
    -o-transition-duration: opacity 0.3s;
    transition-duration: opacity 0.3s;
    .list-group-item {
      background-color: #0075BA;
      border-left: 0;
      &:hover {
        background-color: #004798;
      }
    }
    a {
      color: #fff;
      font-size: 14px;
      line-height: 1.3;
    }
    span {
      font-weight: 400;
    font-size: 11px;
    color: #e0e0de;
    display: block; 
    }
    
  }
  .svg-submenu {
    background-color: #009eff;
    .list-group-item {
      background-color: #009eff;
      padding-top: 17px;
      padding-bottom: 17px;
      &:hover {
        background-color: #0075BA;
      }
    }
    a {
      line-height: normal;
    }
  }
  .first-menu li:hover .submenu {
    max-width: 100%;
    opacity: 1;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console