Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <nav class="navbar navbar-inverse star-sitebar">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="/">STAR</a>
    </div>

    <div id="star-sitebar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="/signin">Sign In</a></li>
        <li><a href="/signup">Sign Up</a></li>
      </ul>
    </div>
  </div>
</nav>
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#star-navbar" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
    </div>
    <div class="collapse navbar-collapse" id="star-navbar">
      <ul class="nav navbar-nav">
        <li><a href="/story/">Stories</a></li>
        <li><a href="/community/">Community</a></li>
        <li><a href="/forum/">Forum</a></li>
      </ul>
      <form class="navbar-form navbar-right">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">Submit</button>
      </form>
    </div>
  </div>
</nav>


<div class="container-fluid">
  <div class="row">
    <div class="col-md-12">
      <div class="panel panel-default">
        <div class="panel-heading">
          <div class="row">
            <div class="col-xs-6">
              <h4>Txuritan</h4>
            </div>
            <div class="col-xs-6">
              <button type="button" class="btn btn-default pull-right" aria-label="Left Align">
                <span class="glyphicon glyphicon-signal" aria-hidden="true"></span>
              </button>
            </div>
          </div>
        </div>
        <div class="panel-body">
          <div class="row">
            <div class="col-md-2 col-xs-4">
              <a href="#" class="thumbnail">
                <img src="https://avatars1.githubusercontent.com/u/7692150?v=3&s=460" alt="User Image">
              </a>
            </div>
            <div class="col-md-10 col-xs-8">
            </div>
          </div>
          <ul class="nav nav-pills nav-justified" role="tablist">
            <li role="presentation" class="active">
              <a href="#myStories" aria-controls="myStories" role="tab" data-toggle="tab">My Stories <span class="badge">4</span></a>
            </li>
            <li role="presentation">
              <a href="#favoriteStories" aria-controls="favoriteStories" role="tab" data-toggle="tab">Favorite Stories <span class="badge">149</span></a>
            </li>
            <li role="presentation">
              <a href="#favoriteAuthors" aria-controls="favoriteAuthors" role="tab" data-toggle="tab">Favorite Authors <span class="badge">29</span></a>
            </li>
            <li role="presentation">
              <a href="#communities" aria-controls="communities" role="tab" data-toggle="tab">Communities <span class="badge">1</span></a>
            </li>
          </ul>
          <div class="tab-content">
            <div role="tabpanel" class="tab-pane active" id="myStories">
              <ul class="list-group">
                <li href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">
                  <a href="#">The End</a>
                  <a href="#"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a>
                  <a href="#"><i class="text-warning">Reviews</i></a>
                </h4>
                  <p class="list-group-item-text">A story I want to if it is good or bad</p>
                  <p class="list-group-item-text text-muted">Alpha and Omega - Rated: T - English - Hurt/Comfort/Adventure - Chapters: 4 - Words: 720 - Reviews: 10 - Favs: 4 - Follows: 6 - Updated: Nov 27, 2015 - Published: Jun 10, 2012 - Humphrey, Lilly</p>
                </li>
                <li href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">
                  <a href="#">Chelsea and Columbus</a>
                  <a href="#"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a>
                  <a href="#"><i class="text-warning">Reviews</i></a>
                </h4>
                  <p class="list-group-item-text">A girl in Zombieland is out looking for a friend, or someone who will talk to her. A face that doesn't have blood onit even. But then, she finds Columbus. Story not mine its a friends on Devianart named campbellsoup1549.</p>
                  <p class="list-group-item-text text-muted">Zombieland - Rated: T - English - Humor/Horror - Chapters: 3 - Words: 1,785 - Reviews: 1 - Favs: 3 - Follows: 6 - Updated: Nov 27, 2015 - Published: Jul 7, 2012 - Columbus</p>
                </li>
                <li href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">
                  <a href="#">Alpha and Omega: Uncovering The Past</a>
                  <a href="#"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a>
                  <a href="#"><i class="text-warning">Reviews</i></a>
                </h4>
                  <p class="list-group-item-text">Kate lost her memory and the Western Pack has to get her back, but will she come back after she meets Caileb, the old Southern Pack Leade</p>
                  <p class="list-group-item-text text-muted">Alpha and Omega - Rated: T - English - Mystery/Hurt/Comfort - Chapters: 9 - Words: 2,845 - Reviews: 6 - Favs: 4 - Updated: Nov 27, 2015 - Published: Jun 8, 2012 - Humphrey, Kate</p>
                </li>
                <li href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">
                  <a href="#">A Dragons Deal</a>
                  <a href="#"><span class="glyphicon glyphicon-menu-right" aria-hidden="true"></span></a>
                  <a href="#"><i class="text-warning">Reviews</i></a>
                </h4>
                  <p class="list-group-item-text">Hicca makes a deal and now she has to kill the Red Death or she will turn into a dragon. X-Jinxa-X's A Dragons Deal. Thx X-Jinxa-X for giving me this story. Female Hiccup.</p>
                  <p class="list-group-item-text text-muted">How to Train Your Dragon - Rated: T - English - Romance/Adventure - Chapters: 5 - Words: 4,205 - Reviews: 22 - Favs: 51 - Follows: 74 - Updated: Nov 27, 2015 - Published: Jun 14, 2012 - Hiccup, Toothless</p>
                </li>
              </ul>
            </div>
            <div role="tabpanel" class="tab-pane" id="favoriteStories">
              <div class="list-group">
                <a href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">List group item heading</h4>
                  <p class="list-group-item-text">...</p>
                </a>
              </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="favoriteAuthors">
              <div class="list-group">
                <a href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">List group item heading</h4>
                  <p class="list-group-item-text">...</p>
                </a>
              </div>
            </div>
            <div role="tabpanel" class="tab-pane" id="communities">
              <div class="list-group">
                <a href="#" class="list-group-item">
                  <h4 class="list-group-item-heading">List group item heading</h4>
                  <p class="list-group-item-text">...</p>
                </a>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>


<div class="container-fluid">
  <div class="row">
    <div class="col-lg-12">
      <hr>
      <div class="col-md-8 text-sm-center text-xs-center">
        <a href="#">Terms of Service</a> | <a href="#">Privacy</a> | <a href="#">Help</a>
      </div>
      <div class="col-md-4">
        <p class="muted text-lg-right text-md-right text-sm-center text-xs-center"><span id="copyright"></span></p>
      </div>
    </div>
  </div>
</div>
            
          
!
            
              @screen-xs-max: 767px;
@screen-sm-min: 768px;
@screen-sm-max: 991px;
@screen-md-min: 992px;
@screen-md-max: 1199px;
@screen-lg-min: 1200px;
@media (max-width: @screen-xs-max) {
  .text-xs-left {
    text-align: left;
  }

  .text-xs-right {
    text-align: right;
  }

  .text-xs-center {
    text-align: center;
  }

  .text-xs-justify {
    text-align: justify;
  }
}
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
  .text-sm-left {
    text-align: left;
  }

  .text-sm-right {
    text-align: right;
  }

  .text-sm-center {
    text-align: center;
  }

  .text-sm-justify {
    text-align: justify;
  }
}
@media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
  .text-md-left {
    text-align: left;
  }

  .text-md-right {
    text-align: right;
  }

  .text-md-center {
    text-align: center;
  }

  .text-md-justify {
    text-align: justify;
  }
}
@media (min-width: @screen-lg-min) {
  .text-lg-left {
    text-align: left;
  }

  .text-lg-right {
    text-align: right;
  }

  .text-lg-center {
    text-align: center;
  }

  .text-lg-justify {
    text-align: justify;
  }
}

.navbar {
  border-radius: 0;
}

.star {
  &-sitebar {
    border-bottom-width: 0;
    margin-bottom: 0;
    .nav {
      &bar {
        &-header {
          float: left;
        }
        &-nav {
          float: right;
        }
      }
      & > li,
      & > li > a {
        display: inline-block;
      }
    }
  }
}
            
          
!
            
              $(() => {
  $(document).ready(() => {
    $('#copyright').html('&copy; 2016-' + new Date().getFullYear() + ', <a href="https://txuritan.github.io">Ian Cronkright</a>.')
  });
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console