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

              
                <!-- 
HELLO, WORLD!
-->

<!-- BOOTSTRAP 4 -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">

<!-- ANIMATE CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">
</head>



<div class="sidebar">
  
  <img alt="Comapny Name" class="logo img-fluid p-3" src="https://raw.githubusercontent.com/MSLHub/MSLHub.github.io/master/logo_temp.png"/>
 
  <span id="sideNav1" class="cursive sideNav">Register</span>
  
  <span id="sideNav2" class="cursive sideNav active">Getting Ready</span>

  <span id="sideNav3" class="cursive sideNav">When you return</span>
  
</div><!-- end sidebar -->









<div class="main">
  

  <div class="container">
    <div class="row">
      <h1>Join Our Annual Event!</h1>
    </div><!-- end content 1 -->
    
    
    <div id="content1" class="content row">
      <h5>Register for the event.</h5>
    </div><!-- end content 1 -->
    
    <div id="content2" class="content row">
      
      <div class="col-sm pre-work-1 p-3 m-1">
        <h1>1</h1>
        <h3>Action</h3>
        <p>I like featured content, how about you? Each of these cards can be a feature of some fantastic stuff.</p>
      </div><!-- end col -->

      <div class="col-sm pre-work-2 p-3 m-1">
        <h1>2</h1>
        <h3>Action</h3>
        <p>I like featured content, how about you? Each of these cards can be a feature of some fantastic stuff.</p>
      </div><!-- end col -->

      <div class="col-sm pre-work-3 p-3 m-1">
        <h1>3</h1>
        <h3>Action</h3>
        <p>I like featured content, how about you? Each of these cards can be a feature of some fantastic stuff.</p>
      </div><!-- end col -->
      
    </div><!-- end row -->
    
    
    <div id="content3" class="content row">
      <h5>When you return, make sure to do these things!</h5>
    </div><!-- end content 1 -->
    
    
  </div><!-- end container -->
  
  
</div><!-- end main -->



<!-- JQUERY -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
              
            
!

CSS

              
                body {
  background-color: #000000 !important;
  color: #FFF !important;
}

span.sideNav {
  cursor:pointer;
}

.sidebar {
  width: 20%;
  height: 100%;
  position: absolute;
  top: 0px;
  left:5%;
  background-color:rgba(250,250,250,.15);
}

.main {
  width: 68%;
  margin-left: 30%;
  padding: 80px 0 0;
  height: 70%;
}
.cursive {
  font-family: Georgia, serif;
  display: block;  
  text-align: right;
  padding: 15px;
  font-style: italic;
  font-size: 14px;
  opacity:.65;
}

.active {
  font-size: 18px;
  opacity:1.0;
  text-decoration:underline;
}

.pre-work-1, .pre-work-2,  .pre-work-3 {
  height:500px;
}
.pre-work-1 {
  background-color: #48a1d2;
}
.pre-work-2 {
  background-color: #566ff7;
}
.pre-work-3 {
  background-color: #de42c0;
}


              
            
!

JS

              
                
$('.content').hide();
$('#content2').fadeIn();
	
	
$('#sideNav1').click(function() {
  $('.sideNav').removeClass( "active" );
  $(this).addClass( "active" );
  $('.content').hide();
  $( "#content1" ).fadeIn( "slow", function() {});
});
	
	
$('#sideNav2').click(function() {
  $('.sideNav').removeClass( "active" );
  $(this).addClass( "active" );
  $('.content').hide();
  $( "#content2" ).fadeIn( "slow", function() {});
});
	
	
$('#sideNav3').click(function() {
  $('.sideNav').removeClass( "active" );
  $(this).addClass( "active" );
  $('.content').hide();
  $( "#content3" ).fadeIn( "slow", function() {});
});	
              
            
!
999px

Console