css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              
<body>
  
  <div class="container">
    
      
        <img class="img-fluid center-block p-t-1" src="http://cdn3-www.wrestlezone.com/assets/uploads/2013/08/wrestlezone1.png" width="230">
         
    
    
    <!-- NAVBAR -->

<nav>
  <div class="navToggle">
    <div class="icon"></div>
  </div>
  <ul class="nav nav-pills  nav-stacked m-l-1">
    <li class="nav-item "><a class="nav-link active" id="active" href="#">Home</a></li>
    <li class="nav-item"><a class="nav-link" href="#">News</a></li>
    <li class="nav-item"><a class="nav-link" href="#">Editorials</a></li>
    <li class="nav-item"><a class="nav-link" href="#">WZ Radio</a></li>
    <li class="nav-item"><a class="nav-link" href="#">WZ TV</a></li>
    <li class="nav-item"><a class="nav-link" href="#">Pay Per Views</a></li>
    <li class="nav-item"><a class="nav-link" href="#">Shows</a></li>
    <li class="nav-item"><a class="nav-link" href="#">T-shirts</a></li>
    <li class="nav-item"><a class="nav-link" href="#">Forums</a></li>
  </ul>
</nav>
          <!-- /NAVBAR -->
    
          <!-- CAROUSEL -->
    <section>
      <div class="jumbotron-fluid">
      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
  <ol class="carousel-indicators">
    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
  </ol>
  <div class="carousel-inner" role="listbox">
    <div class="carousel-item active">
      <a href="#" class="caption-links" data-toggle="modal" data-target="#ryback"><img class="center-block carousel-imgs" src="http://cdn.bleacherreport.net/images_root/images/photos/002/319/318/ER13_Photo_134_original.jpg?1369097322" alt="First slide"></a>
      <div class="carousel-caption m-b-1">
        <h3 class="captions font-weight-bold hidden-xs-down"><a href="#" class="caption-links" data-toggle="modal" data-target="#ryback">"WWE May Very Well<br>Release Me"</a></h3>
  </div>
    </div>
    <div class="carousel-item">
      <a href="#" class="caption-links" data-toggle="modal" data-target="#enzo"><img class="center-block carousel-imgs" src="http://cdn3-www.wrestlezone.com/assets/uploads/2016/03/enzo-amore-nxt.jpg" alt="Second slide"></a>
      <div class="carousel-caption m-b-1">
        <h3 class="captions font-weight-bold hidden-xs-down"><a href="#" class="caption-links" data-toggle="modal" data-target="#enzo">Enzo Suffers<br> Concussion At WWE Payback</a></h3>
  </div>
    </div>
    <div class="carousel-item">
      <a href="#" class="caption-links" data-toggle="modal" data-target="#vince"><img class="center-block carousel-imgs" src="http://17r1l63fshd52dy9yakdizhkog.wpengine.netdna-cdn.com/wp-content/uploads/2016/03/Vince-McMahon-Raw.png" alt="Third slide"></a>
      <div class="carousel-caption m-b-1">
        <h3 class="captions font-weight-bold hidden-xs-down"><a href="#" class="caption-links" data-toggle="modal" data-target="#vince">Who Is In Charge Of<br>Monday Night Raw?</a></h3>
  </div>
    </div>
  </div>
  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
    <span class="icon-prev" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
    <span class="icon-next" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>
      </div><!-- jumbotron -->
    </section>
          <!-- /CAROUSEL -->
    
    
    
          <!-- PPV & SHOW RESULTS -->
    <section id ="white-section" class="p-t-2">
      <div class="row p-x-1">
  <div class="col-xs-6 col-sm-3"><figure class="figure">
  <img src="http://www.moviejoin.com/wp-content/uploads/2016/05/WWE-Payback-2016.jpg" class="figure-img img-fluid img-rounded" alt="A generic square placeholder image with rounded corners in a figure.">
    <figcaption class="figure-caption"><a href="#" class="result-links font-weight-bold" data-target="#nxt-champion-crowned">Pyaback Results</a></figcaption>
</figure></div>
  <div class="col-xs-6 col-sm-3"><figure class="figure">
  <img src="http://todaywrestling.com/wp-content/uploads/2016/02/NXT.png" class="figure-img img-fluid img-rounded" alt="A generic square placeholder image with rounded corners in a figure.">
    <figcaption class="figure-caption"><a href="#" class="result-links font-weight-bold" data-target="#nxt-champion-crowned">NXT Results</a></figcaption>
</figure></div>

  <!-- Add the extra clearfix for only the required viewport -->
  <div class="clearfix hidden-sm-up"></div>

  <div class="col-xs-6 col-sm-3"><figure class="figure">
  <img src="http://www.nbcumv.com/sites/default/files/styles/shows_landing_image_height_400_300/public/nbcumv_shows/WWERaw_Show_0.jpg?itok=lT0cRm1d" class="figure-img img-fluid img-rounded" alt="A generic square placeholder image with rounded corners in a figure.">
    <figcaption class="figure-caption"><a href="#" class="result-links font-weight-bold" data-target="#nxt-champion-crowned">RAW Results</a></figcaption>
</figure></div>
  <div class="col-xs-6 col-sm-3"><figure class="figure">
  <img src="https://3.bp.blogspot.com/-CPJxMgW6EcM/T703fTMwcZI/AAAAAAAAAM0/HbqXC_xMcJo/s400/wwe-smackdown-logo-1152x864.jpg" class="figure-img img-fluid img-rounded" alt="A generic square placeholder image with rounded corners in a figure.">
    <figcaption class="figure-caption"><a href="#" class="result-links font-weight-bold" data-target="#nxt-champion-crowned">SmackDown Results</a></figcaption>
</figure></div>
</div>
    </section>
        <!-- /PPV & SHOW RESULTS -->
    
    
        <!-- NEWS -->
    <section id="white-section" class="p-x-1 p-y-3">
      
      <div class="media">
  <a class="media-left" href="#" data-toggle="modal" data-target="#nxt-champion-crowned">
    <img class="media-object hidden-xs-down" src="http://todaywrestling.com/wp-content/uploads/2016/02/NXT.png" alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading  font-weight-bold"><a href="#" class="news-links" data-toggle="modal" data-target="#nxt-champion-crowned">Breaking News: New NXT Champion Crowned!</a></h4>
    
  </div>
</div>
      <span class="glyphicon glyphicon-user m-t-1 m-l-1"></span> by <span class="glyphicon glyphicon-time m-t-1 m-l-2"></span> Date
      <hr>
       <div class="media">
  <a class="media-left" href="#">
    <img class="media-object hidden-xs-down" src="http://cacheimg.sci24h.com/i.php?img=http://images.techtimes.com/data/images/full/236040/finn-balor.png&key=a175a1d975f98bdc2c33cf2b0640be4a" alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading  font-weight-bold"><a href="#" class="news-links">Finn Balor Celebrates Star Wars Day</a></h4>
  </div>     
</div>
       <span class="glyphicon glyphicon-user m-t-1 m-l-1"></span> by <span class="glyphicon glyphicon-time m-t-1 m-l-2"></span> Date
      <hr>
       <div class="media">
  <a class="media-left" href="#">
    <img class="media-object hidden-xs-down" src="http://cdn1-www.wrestlezone.com/assets/uploads/2015/04/extreme15_splash.jpg" alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading  font-weight-bold"><a href="#" class="news-links">WWE Extreme Rules Main Event Announced!</a></h4>
  </div>     
</div>
       <span class="glyphicon glyphicon-user m-t-1 m-l-1"></span> by <span class="glyphicon glyphicon-time m-t-1 m-l-2"></span> Date
     
    
    </section>
        <!-- /NEWS -->
    
    
  
      

  </div> <!-- CONTAINER -->
 

  
           <!-- MODAL --> 
<div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="ryback">
  <div class="modal-dialog modal-lg modal-md">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
         <img class="img-fluid center-block" src="http://cdn3-www.wrestlezone.com/assets/uploads/2013/08/wrestlezone1.png" width="230">
        
      </div>
      <div class="modal-body">
        <div class="media">
  <a class="media-left" href="#">
    <img class="media-object modal-media-object" data-src="..." alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading">Says “WWE May Very Well Release Me”</h4>
    
  </div>
          <hr>
          <span class="glyphicon glyphicon-time m-b-1"></span> date
          
          <p class="center-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut venenatis lorem, ut molestie urna. Sed bibendum, lectus ut feugiat aliquet, quam orci posuere elit, et convallis ex arcu eget est. Ut elementum mauris vitae nisl tempor, sed eleifend magna iaculis. Sed in purus eget purus ultrices viverra eu ac ligula. Quisque posuere consequat massa, sit amet mollis mi mollis in. Donec neque justo, volutpat eu elementum sit amet, ullamcorper sed nulla. Aenean et auctor erat. Donec vel augue lacinia, efficitur nunc a, tempor nibh. Suspendisse placerat nunc eget velit feugiat, et dignissim sapien efficitur. Fusce eu tortor vel ante ullamcorper pharetra a vel purus. Cras ligula nisi, tincidunt ac enim nec, fermentum venenatis tellus. Phasellus porttitor fringilla diam, ut vulputate arcu tempus eget</p>
</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary pull-left" data-dismiss="modal">Share</button>
        <button type="button" class="btn btn-info">Tweet</button>
      </div>
    </div>
  </div>
</div>
    
    
    
    <div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="enzo">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
         <img class="img-fluid center-block" src="http://cdn3-www.wrestlezone.com/assets/uploads/2013/08/wrestlezone1.png" width="230">
        
      </div>
      <div class="modal-body">
        <div class="media">
  <a class="media-left" href="#">
    <img class="media-object modal-media-object" data-src="..." alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading">Match Stopped After Sufuring A Serious Injury</h4>
    
  </div>
          <hr>
          <span class="glyphicon glyphicon-time m-b-1"></span> date
          <p class="center-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut venenatis lorem, ut molestie urna. Sed bibendum, lectus ut feugiat aliquet, quam orci posuere elit, et convallis ex arcu eget est. Ut elementum mauris vitae nisl tempor, sed eleifend magna iaculis. Sed in purus eget purus ultrices viverra eu ac ligula. Quisque posuere consequat massa, sit amet mollis mi mollis in. Donec neque justo, volutpat eu elementum sit amet, ullamcorper sed nulla. Aenean et auctor erat. Donec vel augue lacinia, efficitur nunc a, tempor nibh. Suspendisse placerat nunc eget velit feugiat, et dignissim sapien efficitur. Fusce eu tortor vel ante ullamcorper pharetra a vel purus. Cras ligula nisi, tincidunt ac enim nec, fermentum venenatis tellus. Phasellus porttitor fringilla diam, ut vulputate arcu tempus eget</p>
</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary pull-left" data-dismiss="modal">Share</button>
        <button type="button" class="btn btn-info">Tweet</button>
      </div>
    </div>
  </div>
</div>
  
  
  
  <div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="vince">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
         <img class="img-fluid center-block" src="http://cdn3-www.wrestlezone.com/assets/uploads/2013/08/wrestlezone1.png" width="230">
        
      </div>
      <div class="modal-body">
        <div class="media">
  <a class="media-left" href="#">
    <img class="media-object modal-media-object" data-src="..." alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading">Who Is In Charge Of Monday Night Raw?</h4>
    
  </div>
          <hr>
          <span class="glyphicon glyphicon-time m-b-1"></span> date
          <p class="center-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut venenatis lorem, ut molestie urna. Sed bibendum, lectus ut feugiat aliquet, quam orci posuere elit, et convallis ex arcu eget est. Ut elementum mauris vitae nisl tempor, sed eleifend magna iaculis. Sed in purus eget purus ultrices viverra eu ac ligula. Quisque posuere consequat massa, sit amet mollis mi mollis in. Donec neque justo, volutpat eu elementum sit amet, ullamcorper sed nulla. Aenean et auctor erat. Donec vel augue lacinia, efficitur nunc a, tempor nibh. Suspendisse placerat nunc eget velit feugiat, et dignissim sapien efficitur. Fusce eu tortor vel ante ullamcorper pharetra a vel purus. Cras ligula nisi, tincidunt ac enim nec, fermentum venenatis tellus. Phasellus porttitor fringilla diam, ut vulputate arcu tempus eget</p>
</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary pull-left" data-dismiss="modal">Share</button>
        <button type="button" class="btn btn-info">Tweet</button>
      </div>
    </div>
  </div>
</div>
  
  <!-- PPV & SHOW RESULTS MODAL -->
  
  
  <!-- /PPV & SHOW RESULTS MODAL -->
  
  
  <!--  NEWS MODAL  -->
     <div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="nxt-champion-crowned">
  <div class="modal-dialog modal-lg modal-md">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
         <img class="img-fluid center-block" src="http://cdn3-www.wrestlezone.com/assets/uploads/2013/08/wrestlezone1.png" width="230">
        
      </div>
      <div class="modal-body">
        <div class="media">
  <a class="media-left" href="#">
    <img class="media-object modal-media-object" data-src="..." alt="Generic placeholder image">
  </a>
  <div class="media-body">
    <h4 class="media-heading">Breaking News: New NXT Champion Crowned!</h4>
    
  </div>
          <hr>
          <span class="glyphicon glyphicon-time m-b-1"></span> date
          <p class="center-block">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut venenatis lorem, ut molestie urna. Sed bibendum, lectus ut feugiat aliquet, quam orci posuere elit, et convallis ex arcu eget est. Ut elementum mauris vitae nisl tempor, sed eleifend magna iaculis. Sed in purus eget purus ultrices viverra eu ac ligula. Quisque posuere consequat massa, sit amet mollis mi mollis in. Donec neque justo, volutpat eu elementum sit amet, ullamcorper sed nulla. Aenean et auctor erat. Donec vel augue lacinia, efficitur nunc a, tempor nibh. Suspendisse placerat nunc eget velit feugiat, et dignissim sapien efficitur. Fusce eu tortor vel ante ullamcorper pharetra a vel purus. Cras ligula nisi, tincidunt ac enim nec, fermentum venenatis tellus. Phasellus porttitor fringilla diam, ut vulputate arcu tempus eget</p>
</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary pull-left" data-dismiss="modal">Share</button>
        <button type="button" class="btn btn-info">Tweet</button>
      </div>
    </div>
  </div>
</div>
  
  
  <!--  /NEWS MODAL  -->
    
    
    
   <!-- MODAL -->
  
  
  
  
  

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>
</body>
            
          
!
            
              body {
  background: #4C0000;
}

.container {
  background: black;
}

// removes outlines on all links
a:hover, a:active, a:focus {
  outline: 0;
}

/************
  NAVBAR
************/


nav{
  width: 100%;
  height: 85px;
  color:red;
  background-color: black;
  position: relative;
  transition-duration: 0.5s;
  transition-timing-function: swing;
  overflow: hidden;
  
  
  &.open{
    height: 480px;
    
  }
  
  ul{
    padding-top: 90px;
    padding-left: 35px;
    
    li{
      list-style: none;
      
      a{
        padding: 10px 0;
        display: inline-block;
        text-decoration: none;
        color: lighten(black, 30%);
      }
    }
  }
}

.navToggle{
  position: absolute;
  width: 50px;
  height: 40px;
  top: 20px;
  left: 20px;
  transition-duration: 0.5s;
  
  .icon{
    transition-duration: 0.25s;
    position: absolute;
    width: 30px;
    height: 2px;
    top: 30px;
    left: 15px;
    background-color: #b30000;
    
    &:before, &:after{
      transition-duration: 0.25s;
      position: absolute;
      width: 30px;
      height: 2px;
      background-color: #b30000;
      content: "";
    }
    
    &:before{
      top: -7px;
      left: 0;
    }
    
    &:after{
      top: 7px;
      left: 0;
    }
  }
  
  &:hover{
    cursor: pointer;
    
    .icon{
      &:before{
        top: -10px;
      }

      &:after{
        top: 10px;
      }
    }
  }
  
  &.open{
    transition-duration: 1s;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    
    .icon{
      transition-duration: 0.5s;
      background-color: transparent;
      
      &:before{
        transition-duration: 0.5s;
        top: 0;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
      }
      
      &:after{
        transition-duration: 0.5s;
        top: 0;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
      }
    }
  }
}
.nav>li>a:hover,
.nav>li>a:focus {
    text-decoration: none;
    background-color: #b30000;
  color: white;
}
a:link {
  color: white;
}
#active {
  background-color: #b30000;
}
/***************
  /NAVBAR
***************/



.carousel-imgs {
  width: 100%;
  height: 500px;
}
.captions {
 color: white;
}
.caption-links:link {
  color: white;
  text-decoration: none;
}
.caption-links:hover {
  color: red;
}
h3 {
  color: white;
  text-shadow: 1px 1px 1px black;
  
}

#white-section {
  background: white;
}

//ppv & show links

.result-links:link {
  color: black;
}
.result-links:hover {
  text-decoration: none;
  color: #b30000;
}


//news links
.news-links:link {
  color: black;
  text-decoration: none;
}
.news-links:hover {
  color: #b30000;
}

.media-object {
  width: 200px;
  height: 150px;
}
.modal-media-object {
  width: 64px;
  height: 64px;
}

.glyphicon {
  color: #b30000;
}


// h3 {
//   background: -webkit-linear-gradient(red, black);
//   -webkit-background-clip: text;
//   -webkit-text-fill-color: transparent;
// }


/*************
  MODAL
*************/
.modal-header {
  background: #b30000;
}




/*************
  /MODAL
*************/




            
          
!
            
              $(".navToggle").click (function(){
  $(this).toggleClass("open");
  $("nav").toggleClass("open");
});
            
          
!
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.
Loading ..................

Console