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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<nav class="navbar navbar-inverse navbar-static-top" role="navigation" id="menucolor">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Aravindh Designs</a>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li class="active" id="activa"><a href="#">Home</a></li>
        <li><a href="#rowtwo">About</a></li>
        
        <li><a href="#contact">Contact</a></li>
      </ul>
  </div>
</nav>
  <body data-spy="scroll" data-target=".navbar" data-offset="50">

 <header class="jumbotron">
   <div class="container">
     <div class="row">
     <div class="col-xs-12 col-sm-8">
       <h1>This is my personal portfolio page</h1>
       <br/>
       <span class="buttons"> <button class="btn btn-primary"><i class="fa fa-facebook-official"></i>&nbsp; <a href="#">Facebook</a></button>&nbsp;
       <button class="btn btn-primary"><i class="fa fa-twitter" aria-hidden="true"></i>&nbsp; <a href="#">Twitter</a></button>
       <button class="btn btn-primary"><i class="fa fa-github" aria-hidden="true"></i></i>&nbsp; <a href="#">Github</a></button>
        </span>
     </div>
   </div>
   </div>
  </header>
<header class="secondrow">
  <div class="container-fluid" id="rowtwo">
   
   <div class="row" id="aboutthe">
      <div class="col-xs-6">
       <h1 class="scondsection"><p>Its all About My Life!</p></h1></div>
     <div class="col-xs-6">
        <img src="http://i.vimeocdn.com/video/457278435_1280x720.jpg" class="themeimg">
    </div>
    </div>
    </header>
       <header class="thirdrow">
  <div class="container-fluid" id="contact">
   
   <div class="row" id="aboutthe">
      <div class="col-xs-12">
        <br/>
        
       <form action="#" id="deforms">
        <div class="form-group">
        <label>Enter Your Name:</label><input type="text" required><br/><br/>
          <label>Enter your email:</label><input type="email" required><br/><br/>
          <label>Enter your mobile no:</label><input type="text" required><br/><br/>
        <div class="col-xs-4">
          <label><input type="radio" name="gender">Male</label>&nbsp;&nbsp;
          <label><input type="radio" name="gender">Female</label></div>
        
        <br/><br/>
        <div class="col-xs-4">
          <input type="checkbox"/><label>Do you want to contact</label>
          <br/>
          <br/>
          <div class="col-xs-3">
            <button class="btn btn-primary" type="submit">Submit</button>
            
          </div>
          <div class="col-xs-2">
          <button class="btn btn-danger" type="submit">Reset</button>
          </div>
          </div>
        </form>
   </div>
    </div>
    </header>
       
       
       
              
            
!

CSS

              
                #menucolor {
  background-color: indigo;
  height: 70px;
  padding-top: 10px;
}

.jumbotron {
  background-color: dodgerblue;
  margin-top: -20px;
}
a  {
  color: white;
}
.buttons {
  padding-left: 300px;
}
.secondrow {
  background-color: rgba(191, 255, 13, 1.00);
  margin-top: -60px;
  height: 275px;
  
}
.scondsection {
  
  
  font-size: 90px;
  color: darkslategrey;
  font-weight: bold;
}
.thirdrow {
  background-color: hsla(120, 60%, 70%, 0.7);
  margin-top: -2px;
  height: 290px;
  
}
.themeimg {
  width: 660px;
    height:275px;
}
#deforms {
  align: center;
}
              
            
!

JS

              
                $(".nav a").on("click", function(){
   $(".nav").find(".active").removeClass("active");
   $(this).parent().addClass("active");
});
              
            
!
999px

Console