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

              
                <nav class="navbar navbar-default navbar-fixed-top" id="navbar">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
        <span class="sr-only">Open Menu</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Nitin Chandran Nair</a>
    </div>
    <div class="collapse navbar-collapse navbar-right" id="navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li>
          <a href="#about">About</a>
        </li>
        <li>
          <a href="#project">Projects</a>
        </li>
        <li>
          <a href="#contact">Contact</a>
        </li>
        <li>
          <a href="http://www.nitinchandrannair.com/NitinNairWrites" title="NitinNairWrites" target="_blank">Blog</a>
        </li>
      </ul>
    </div>
  </div>
</nav>

<header id="welcome-section">
  <div class="container">
    <div class="row">
      <div class="col-lg-12 text-center">
        <h1>Nitin C Nair</h1>
        <img class="img-responsive img-circle animated fadeInDown" src="http://nitinchandrannair.com/img/profile.jpg" alt="Nitin Chandran Nair"> <br>
        <div>
        </div>
      </div>
    </div>
  </div>
</header>

<section id="about" class="animated fadeInUp">
  <div class="container">
    <div class="row">
      <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div class="page-header text-center">
          <h2>ABOUT</h2>
          <p>A little info about me</p>
        </div>
      </div>
    </div>
    <div class="row">
          <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
            <p>
              Hello, I am Nitin. I work as a Software Engineer and I am passionate about Web Designing and Development. When I am not designing for the web, you can catch me writing some rhymes on my blog - <a href="http://www.nitinchandrannair.com/NitinNairWrites">NitinNairWrites</a>.
            </p> <br>
            <p>
              You can contact me directly with the contact form below. Looking forward to working with you! :)
            </p>
          </div>
          <div class="clearfix visible-xs-block"></div>
          <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
            <div id="skillset">
              <p class="text-center">My Skillset</p>
              <div class="row">
                <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                  <div class="text-right">HTML</div>
                </div>
                <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                  <div class="progress">
                   <div class="progress-bar progress-bar-success" style="width: 90%;"></div>
                  </div>
                </div>
                <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
              </div>     
              <div class="row">
                <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                  <div class="text-right">CSS</div>
                </div>
                <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                  <div class="progress">
                   <div class="progress-bar progress-bar-success" style="width: 85%;"></div>
                  </div>
                </div>
                <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
              </div>    
              <div class="row">
                <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                  <div class="text-right">jQuery</div>
                </div>
                <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                  <div class="progress">
                   <div class="progress-bar progress-bar-success" style="width: 65%;"></div>
                  </div>
                </div>
                <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
              </div> 
              <div class="row">
                <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                  <div class="text-right">Bootstrap</div>
                </div>
                <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                  <div class="progress">
                   <div class="progress-bar progress-bar-success" style="width: 93%;"></div>
                  </div>
                </div>
                <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
              </div>
              <div class="row">
                <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">
                  <div class="text-right">Material CSS</div>
                </div>
                <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
                  <div class="progress">
                   <div class="progress-bar progress-bar-success" style="width: 90%;"></div>
                  </div>
                </div>
                <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
              </div> 
            </div>
          </div>
        </div>
  </div>
</section>

<section id="projects" class="animated fadeInUp">
  <div class="container">
    <div class="row">
      <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div class="page-header text-center">
          <h2>My Projects</h2>
          <p>Below are a few of the projects that I have completed</p>
        </div>
        <div class="row">
          <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            <div id="myCarousel" class="carousel slide" data-ride="carousel">

              <div class="carousel-inner" id="project-tile">
                <div class="item active">
                  <a href="https://codepen.io/Nitin-Chandran-Nair/full/kXykGW" target="_blank">
                    <img src="http://cdn.wpfreeware.com/wp-content/uploads/2014/09/placeholder-images.jpg?b65726"></img>
                  </a>
                </div>
                <div class="item">
                  <a href="https://codepen.io/Nitin-Chandran-Nair/full/yJbPPq/" target="_blank">
                    <img src="http://cdn.wpfreeware.com/wp-content/uploads/2014/09/placeholder-images.jpg?b65726">
                    </img>
                  </a>
                </div>
              </div>
              <a class="carousel-control left" href="#myCarousel" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left"></span>
              </a>
              <a class="carousel-control right" href="#myCarousel" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right"></span>
              </a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<section id="contact" class="animated fadeInUp">
  <div class="container">
    <div class="row">
      <div class="text-center">
        <div class="page-header">
          <h2>CONTACT</h2>
          <p>Let's get in touch</p>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-lg-8 col-lg-offset-2">
        <form name="sentMessage" id="contactForm" novalidate>
          <div class="row control-group">
            <div class="form-group col-xs-12 floating-label-form-group controls">
              <label>Name</label>
              <input type="text" class="form-control" placeholder="Your Name" id="name" required data-validation-required-message="Please enter your name.">
              <p class="help-block text-danger"></p>
            </div>
          </div>
          <div class="row control-group">
            <div class="form-group col-xs-12 floating-label-form-group controls">
              <label>Email Address</label>
              <input type="email" class="form-control" placeholder="Email Address" id="email" required data-validation-required-message="Please enter your email address.">
              <p class="help-block text-danger"></p>
            </div>
          </div>
          <div class="row control-group">
            <div class="form-group col-xs-12 floating-label-form-group controls">
              <label>Message</label>
              <textarea rows="5" class="form-control" placeholder="Message" id="message" required data-validation-required-message="Please enter a message."></textarea>
              <p class="help-block text-danger"></p>
            </div>
          </div>
          <br>
          <div id="success"></div>
          <div class="row">
            <div class="form-group col-xs-12">
              <a class="btn btn-success btn-lg" href="mailto:mail@nitinchandrannair.com">Send</a>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
      <footer class="text-center">
        <div class="container">
          <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
              <h2>Let's Connect!</h2>
              <ul class="list-inline">
                <li><a href="www.facebook.com/NitinNairWrites" title="Facebook" target="_blank"><i class="fa fa-2x fa-facebook"></i><a/></li>
          <li><a href="www.twitter.com/Nitin_Nair89" title="Twitter" target="_blank"><i class="fa fa-2x fa-twitter"></i></a></li>
                <li><a href="https://plus.google.com/u/0/collection/sbZQaB" title="Google Plus" target="_blank"><i class="fa fa-2x fa-google"></i></a></li>
                <li><a id="profile-link" href="https://github.com/NitinNair89" title="GitHub" target="_blank"><i class="fa fa-2x fa-github"></i></a></li>
                <li><a href="https://codepen.io/Nitin-Chandran-Nair" title="CodePen" target="_blank"><i class="fa fa-2x fa-codepen"></i></a></li>
              </ul>
            </div>
          </div>
        </div>
        <div class="footer-below">
          <div class="container">
            <div class="row">
              <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
                Designed by <a href="https://www.nitinnairwrites.com" target="_blank">Nitin Chandran Nair</a>
              </div>
              <div class="clearfix visible-xs-block"></div>
              <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
                The <a href="https://www.freecodecamp.com/challenges/build-a-personal-portfolio-webpage" target="_blank">Build A Portfolio</a> Challenge by <a href="www.freecodecamp.com" target="_blank">freeCodeCamp</a>
              </div>
            </div>
          </div>
        </div>
      </footer>
    </div>
</section>
              
            
!

CSS

              
                .carousel {
  background: #2f4357;
  margin-top: 20px;
}

.carousel .item img {
  margin: 0 auto;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
  height: 800px;
}

h2,
p {
  font-family: 'PT Sans Narrow', sans-serif;
}

p {
  font-size: 20px;
}

#about {
  background-color: #50394c;
  color: white;
}

#about .page-header {
  border-bottom: 3px solid black;
}

header {
  margin-top: 50px;
}

#contact .page-header {
  border-bottom: 3px solid #50394c;
}

#project {
  background-color: black;
  color: white;
}

#project .page-header {
  border-bottom: 3px solid white;
}

#contact {
  background-color: white;
  color: black;
}

img {
  margin: 0 auto;
  max-width: 100%;
  display: block;
}

.navbar-nav li {
  text-align: center;
}
              
            
!

JS

              
                $(".list-inline a").hover(function() {
  $(this).toggleClass("animated jello");
});
$("body").scrollspy({
  target: "#myNavbar",
  offset: 70
})
              
            
!
999px

Console