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

              
                <header>

  <div id="app-header" class="p-0 m-0 mb-2">

    <nav class="app-headerrow navbar navbar-expand-md navbar-dark bg-dark pt-0 pb-0">

      <!-- Big Brand -->
      <div class="flex-column pb-1">
        <div class="flex-row pb-0">
          <a id="lnkApp" class="navbar-brand navbar-bigbrand align-bottom p-0" href="../../Default.aspx"><img id="imgApp" src="../../App_Themes/Default/img/app/applogo.png" />Big Brand</a>
        </div>
        <div class="flex-row" style="line-height: 1rem">
          <span class="navbar-text small p-0">My Application</span>
        </div>
      </div>
      <!-- End Big Brand -->

      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target=".navbar-collapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>

      <div class="container flex-md-column w-100 align-items-stretch ml-0 mr-0 pl-0 pr-0" style="max-width:none;">

        <!-- Row 1 -->
        <div class="collapse navbar-collapse flex-row notextwrap-all" id="navbarCollapse">

          <!-- Left -->
          <ul class="navbar-nav noflexwrap">
            <li class="nav-item d-md-none">
              <span class="navbar-text"><i class="glyphicon glyphicon-user mr-2"></i>
                                IHA\chaj17
                            </span>
            </li>
            <li class="nav-item active">
              <a href="../../MasterUserControls/#" class="nav-link">Home</a>
            </li>
            <li class="nav-item">
              <a href="../../MasterUserControls/#" class="nav-link">Link</a>
            </li>
            <li class="nav-item">
              <a href="../../MasterUserControls/#" class="nav-link disabled">Disabled</a>
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown01" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
              <div class="dropdown-menu" aria-labelledby="dropdown01">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <a class="dropdown-item" href="#">Something else here</a>
              </div>
            </li>
          </ul>

          <!-- Right -->
          <ul class="navbar-nav nav ml-auto noflexwrap">
            <li class="nav-item active ">
              <a href="../../MasterUserControls/#" class="nav-link">Right Menu 1</a>
            </li>
            <li class="nav-item mr-2">
              <a href="../../MasterUserControls/#" class="nav-link">Right Menu 2</a>
            </li>
            <li class="nav-item d-none d-md-flex">
              <span class="navbar-text"><i class="glyphicon glyphicon-user mr-2"></i>Domain\User</span>
            </li>
          </ul>
        </div>

        <!-- Row 2 -->
        <div class="collapse navbar-collapse flex-row notextwrap-all pt-0 pb-2" id="navbarCollapseBottom">

          <!-- Left -->
          <ul class="navbar-nav mr-auto noflexwrap">
            <li class="nav-item active">
              <a href="../../MasterUserControls/#" class="nav-link">Home</a>
            </li>
            <li class="nav-item">
              <a href="../../MasterUserControls/#" class="nav-link">Link</a>
            </li>
            <li class="nav-item">
              <a href="../../MasterUserControls/#" class="nav-link disabled">Disabled</a>
            </li>
            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="http://example.com" id="dropdown02" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
              <div class="dropdown-menu" aria-labelledby="dropdown02">
                <a class="dropdown-item" href="#">Action</a>
                <a class="dropdown-item" href="#">Another action</a>
                <a class="dropdown-item" href="#">Something else here</a>
              </div>
            </li>
          </ul>

          <!-- Right -->
          <ul class="navbar-nav nav ml-auto noflexwrap">
            <li class="nav-item active">
              <a href="../../MasterUserControls/#" class="nav-link">Right Menu 1</a>
            </li>
            <li class="nav-item mr-4">
              <a href="../../MasterUserControls/#" class="nav-link">Right Menu 2</a>
            </li>
          </ul>
          <div id="app-search" class="input-group noflexwrap">
            <input type="text" class="form-control" placeholder="Search" aria-label="Search" aria-describedby="basic-addon1">
            <div class="input-group-append">
              <button class="btn btn-success" type="button"><i class="glyphicon glyphicon-search"></i></button>
            </div>
          </div>
        </div>

      </div>
    </nav>
  </div>

</header>
              
            
!

CSS

              
                #app-search
{
    max-width:200px;
}

#app-search input
{
    background-color:#e1e1e1;
    border:none;
    line-height:1.20rem;
}

#app-search input,
#app-search button
{
    height:2rem;
}
#app-search button
{
    padding-top:.2rem;
}

.noflexwrap
{
    flex-wrap:nowrap !important;
}

.noflexwrap-all,
.noflexwrap-all *
{
    flex-wrap:nowrap !important;
}
.notextwrap
{
    white-space:nowrap !important;
}

.notextwrap-all,
.notextwrap-all *
{
    white-space:nowrap !important;
}

@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
  position: relative;
  top: 1px;
  display: inline-block;
  font-family: 'Glyphicons Halflings';
  font-style: normal;
  font-weight: normal;
  line-height: 1;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glyphicon-search:before {
  content: "\e003";
}
.glyphicon-user:before {
  content: "\e008";
}
              
            
!

JS

              
                
              
            
!
999px

Console