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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <body>
  <!--navigation bar-->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mynavbar" 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="#"><span><img src="https://40.media.tumblr.com/92743cd0108046603399f5dbb3cbd4f2/tumblr_nzyttqA4Pt1qzif7oo1_540.jpg"></span> Prashant Sethi</a>
      </div>       <!-- End of navbar-header -->
      <div class="navbar-collapse collapse" id="mynavbar">
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#"><span class="glyphicon glyphicon-home"></span> Home</a></li>
          <li><a href="#about-me"><span class="glyphicon glyphicon-user"></span> About me</a></li>
          <li><a href="#portfolio"><span class="glyphicon glyphicon-briefcase"></span> Portfolio</a></li>
          <li><a href="#contact-me"><span class="glyphicon glyphicon-envelope"></span> Contact me</a></li>
        </ul>
      </div>       <!-- End of navbar-collapse -->
    </div>      <!-- End of container -->
  </nav>
  
  <div class="container-fluid page pageOne">
    <div class="row text-center">
      <!-- header text -->
      <div class="col-md-4 col-sm-4">
      </div>
      <div class="col-md-4 col-sm-4">
        <h1 id="home">Prashant Sethi</h1>
        <h4>I.N.S.P.I.R.E.D</h4>
      </div>
      <div class="col-md-4 col-sm-4">
      </div>
    </div>
    <div class="row text-center">
      <div class="col-md-1 col-sm-1">
      </div>
      <div class="col-md-10 col-sm-10">
        <hr>
      </div>
      <div class="col-md-1 col-sm-1">
      </div>
    </div>
    <div class="row text-center">
      <div class="col-md-1 col-sm-1">
      </div>
      
      <div class="col-md-2 col-sm-2">
        <a href="https://www.facebook.com" target="_blank">
          <button class="btn btn-block btn-primary">
            <i class="fa fa-facebook">
            </i>
            Facebook
          </button>
        </a>
      </div>
      <div class="col-md-2 col-sm-2">
        <a href="https://www.twitter.com" target="_blank">
          <button class="btn btn-block btn-primary">
            <i class="fa fa-twitter">
            </i>
            Twitter
          </button>
        </a>
      </div>
      <div class="col-md-2 col-sm-2">
        <a href="https://www.linkedin.com" target="_blank">
          <button class="btn btn-block btn-primary">
            <i class="fa fa-linkedin">
            </i>
            LinkedIn
          </button>
        </a>
      </div>
      <div class="col-md-2 col-sm-2">
        <a href="https://www.github.com" target="_blank">
          <button class="btn btn-block btn-primary">
            <i class="fa fa-github">
            </i>
            GitHub
          </button>
        </a>
      </div>
      <div class="col-md-2 col-sm-2">
        <a href="https://www.freecodecamp.com" target="_blank">
          <button class="btn btn-block btn-primary">
            <i class="fa fa-fire">
            </i>
            FCC
          </button>
        </a>
      </div>
      <div class="col-md-1 col-sm-1">
      </div>
    </div>
  </div>
  
  <div class="page pageTwo">
    <div class="container-fluid">
      
      <!-- about me -->
      <!-- ADD the About text bit of code HERE -->
        
        <!-- name title -->
          <div class="row text-center">
      
        <h1 id="about-me">About Me</h1>
      </div>
          <div class="row text-center">
      <div class="col-md-1 col-sm-1">
      </div>
      <div class="col-md-10 col-sm-10">
        <hr>
      </div>
      <div class="col-md-1 col-sm-1">
      </div>
    </div>
      <div class="row text-center">
          <div class="col-md-5 col-md-offset-1 text-justify">
            <p>
              Hi! I am a mechanical engineer by education. I have always been interested in programming and creating something beautiful with code. Lately, this largely passive interest of mine has become a more active one. As I learned new things web development caught my attention and I am working towards soon adding full stack web development skills to my bag of tricks :) 
            </p>
          </div>
          <div class="col-md-5 text-center">
            <img class="img-fluid" src="http://www.nikkelatwork.nl/wp-content/uploads/2014/09/Frontend-Webdeveloper.png" />
          </div>
      </div>
    </div>
  </div>
  
  <div class="page pageThree">
    <div class="container-fluid">
      <div class="row text-center" id="portfolio">
        <h1>Portfolio</h1>
          <hr>
          <div class="col-md-4 col-md-offset-2">
            <div class="pf-plcholder center-block">
            </div>
            <div class="pf-plcholder center-block">
            </div>
          </div>
          <div class="col-md-4">
            <div class="pf-plcholder center-block">
            </div>
            <div class="pf-plcholder center-block">
            </div>
          </div>
      </div>
    </div>
  </div>
  
  <div class="page pageFour">
    <div class="container-fluid">
      <div class="row text-center" id="contact-me">
        <h1>Contact Me</h1>
        <hr>
        <div class="col-sm-4 col-sm-offset-4 text-center">
          <form action="#" class="form-horizontal">
            <div class="form-group">
              <label for="name" class="control-label sr-only">Name</label>
              <input type="text" name="name" placeholder="Your name please" class="form-control" />
            </div>
            <div class="form-group">
              <label for="email" class="control-label sr-only">Email</label>
              <input type="text" name="email" placeholder="Your email please" class="form-control" required />
            </div>
            <div class="form-group">
              <div class="checkbox">
                <label>
                  <input type="checkbox" name="newsletter" checked />Subscribe to my newsletter</label>
            </div>
            </div>
            <div class="form-group">
              <button type="submit" value="Submit Form" class="btn btn-block btn-default" id="submit">Submit</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
              
            
!

CSS

              
                body {
  padding-top: 3em;
  margin: 0;
}

h1 {
  padding-top: 1.5em;
}

h1#home{
  padding-top: 5em;
}

p {
  padding: 2em;
  font-size: 1.4em;
  line-height: 2em;
  color: #dddddd;
  font-family: sans-serif;
}

li {
 display: inline;
}

a:hover {
  text-decoration: none;
}

input[type=text]:focus {
  border-color: red;
  background-color: #eeeeee;
  color: #444444;
}

input[type=checkbox] {
  border: 3px;
}

.pageOne {
  padding: 0;
  margin: 0;
  background: url("https://images.unsplash.com/photo-1443890923422-7819ed4101c0");
  background-size: cover;
/*  height: 1000px;*/
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.pageTwo {
  background: url("https://images.unsplash.com/photo-1452723312111-3a7d0db0e024");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.pageThree {
  background: url("https://images.unsplash.com/photo-1443890923422-7819ed4101c0");
  background-size: cover;
 /* height: 1000px;*/
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.pageFour {
  background: url("https://images.unsplash.com/photo-1452723312111-3a7d0db0e024");
  background-size: cover;
/*  height: 1000px;*/
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.btn {
  font-size: 1.5em;
  width:100%;
  height: 50px;
  background-color: #dddddd;
  border-color:black;
  color: #222222;
  border-radius: 15px;
}

.btn:hover {
  /*transform: scale(1.1, 1.1);*/
  font-size: 1.5em;
  width:100%;
  height: 50px;
  background-color: #222222;
  border-color: black;
  color: #eeeeee;
  border-radius: 15px;
}

.pf-plcholder {
  width: 300px;
  height: 300px;
  background-color: gray;
  color: black;
  margin: 50px auto;
}

.navbar-brand img {
  max-height: 100%;
  margin-top: 0px;
  margin-bottom: 0 px;
}

.page {
  padding-bottom: 50px;
}
              
            
!

JS

              
                
              
            
!
999px

Console