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

              
                <nav class="navbar navbar-expand-md navbar-dark bg-dark yamm fixed-top">
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapse-grid" aria-controls="navbar-collapse-grid" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
  <div id="navbar-collapse-grid" class="navbar-collapse collapse">
    <ul class="nav navbar-nav">
      <!-- Grid 12 Menu -->
      <li class="nav-item dropdown yamm-fw"><a href="#" data-toggle="dropdown" class="nav-link dropdown-toggle">Grid<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li class="grid-demo">
            <div class="row">
              <div class="col-sm-12">.col-sm-12</div>
            </div>
            <div class="row">
              <div class="col-sm-6">.col-sm-6</div>
              <div class="col-sm-6">.col-sm-6</div>
            </div>
            <div class="row">
              <div class="col-sm-4">.col-sm-4</div>
              <div class="col-sm-4">.col-sm-4</div>
              <div class="col-sm-4">.col-sm-4</div>
            </div>
            <div class="row">
              <div class="col-sm-3">.col-sm-3</div>
              <div class="col-sm-3">.col-sm-3</div>
              <div class="col-sm-3">.col-sm-3</div>
              <div class="col-sm-3">.col-sm-3</div>
            </div>
            <div class="row">
              <div class="col-sm-2">.col-sm-2</div>
              <div class="col-sm-2">.col-sm-2</div>
              <div class="col-sm-2">.col-sm-2</div>
              <div class="col-sm-2">.col-sm-2</div>
              <div class="col-sm-2">.col-sm-2</div>
              <div class="col-sm-2">.col-sm-2</div>
            </div>
            <div class="row">
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
              <div class="col-sm-1">.col-sm-1</div>
            </div>
          </li>
        </ul>
      </li>
      <!--
              <Aside>Menu </Aside>
              -->
      <li class="dropdown yamm-fw"><a href="#" data-toggle="dropdown" class="nav-link  dropdown-toggle">Cards<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li>
            <div class="row">
              <div class="col-sm-3"><br>
                <div class="card d-block">
					<div class="card-header">Header</div>
					<img src="https://images.unsplash.com/photo-1514957850227-a598954e14e0?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ&s=5a1be7a24bde416c3f23cfc3d07ff02b" alt="" class="card-img-top img-fluid">
					<div class="card-body">
						<div class="card-title">Title</div>
						<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
					</div>
					<div class="card-footer">Footer</div>
				  </div>
              </div>
              <div class="col-sm-9"><br>
                <p>Informing agile and finally further your reach. Leading innovation but re-target key demographics. Building thought leadership and above all, be transparent. Repurpose relevant and engaging content and finally make the logo bigger. Synchronising big data so that we target the low hanging fruit. Generating benchmarking and finally come up with a bespoke solution.
</p>
				  <p>Demonstrate sprints so that we be CMSable. Synchronising key demographics and possibly come up with a bespoke solution. Drive above the line and finally disrupt the balance. Repurpose sprints to in turn target the low hanging fruit. Generate customer journeys but make the logo bigger. Demonstrating big data and try to take this offline.</p>
              </div>
            </div>
          </li>
        </ul>
      </li>
      <!--
              <Nesting>Menu </Nesting>
              -->
      <li class="dropdown yamm-fw"><a href="#" data-toggle="dropdown" class="nav-link dropdown-toggle">Images<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li>
            <div class="row">
                  <div class="col-sm-4"><img src="https://images.unsplash.com/photo-1521411678234-a74f4bd78e03?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ&s=408f06773d92b5f8c24ca1d5436bc3f7" class="img-fluid" alt=""></div>
                  <div class="col-sm-4"><img src="https://images.unsplash.com/photo-1521411678234-a74f4bd78e03?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ&s=408f06773d92b5f8c24ca1d5436bc3f7" class="img-fluid" alt=""></div>
                  <div class="col-sm-4"><img src="https://images.unsplash.com/photo-1521411678234-a74f4bd78e03?ixlib=rb-0.3.5&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ&s=408f06773d92b5f8c24ca1d5436bc3f7" class="img-fluid" alt=""></div>
                </div>
          </li>
        </ul>
      </li>
    </ul>
  </div>
</nav>
              
            
!

CSS

              
                /*!
 * Yamm!3
 * Yet another megamenu for Bootstrap 3 and 4
 * 
 * https://geedmo.github.com/yamm3
 */
.yamm .nav,
.yamm .collapse,
.yamm .dropup,
.yamm .dropdown {
  position: static;
}
.yamm .container {
  position: relative;
}
.yamm .dropdown-menu {
  left: auto;
}
.yamm .nav.navbar-right .dropdown-menu {
  left: auto;
  right: 0;
}
.yamm .yamm-content {
  padding: 20px 30px;
}
.yamm .dropdown.yamm-fw .dropdown-menu {
  left: 0;
  right: 0;
}
.list-unstyled,
.list-unstyled ul { min-width: 120px }

@media ( min-width: 767px ) {
  .panel-group { width: 400px; }
  .thumbnail { margin: 0; }
}

/* Grid demo styles */
.grid-demo {
  padding: 10px 30px;
}

  .grid-demo [class*="col-"] {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1em;
    text-align: center;
    line-height: 2;
    background-color: #e5e1ea;
    border: 1px solid #d1d1d1;
  }





              
            
!

JS

              
                
              
            
!
999px

Console