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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

              
                <body>
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <ul class="nav navbar-nav navbar-right nav nav-pills">
      <li><a href="#about">about</a></li>
      <li><a href="#portfolio">portfolio</a></li>
      <li><a href="#contact">contact</a></li>
    </ul>
  </div>
</nav>
<div id="background">
  <div id="about">
  </br>
  <h2><b>ABOUT</b></h2>
  <hr class="divider"></hr>
  <div class="container-fluid">
   <div class="row">
    <div class="col-md-3 col-xs-12">
     <img class=" img-responsive img-circle center-block" src="http://placehold.it/250?text=pic">
     </img>
    </div>
    <div class="col-md-9 col-xs-12">
     <p id="para" class="text-center">The name is Srishti and I'm pursuing a course of Bachelor of Technology in computer science.I'm fond of web development and android projects.I'm always interested in learning new concepts.Also huge fan of algorithms.</p>
     <hr class="divider"></hr>
     <h3 class=text-center>aspiring web developer</h3>
    </div>
   </div>
  </div>
 </div>
<div id="portfolio">
   </br>
   <h2><b>PORTFOLIO</b></h2>
   <hr class="divider"></hr>
   <div class="container-fluid">
    <div class="row-fluid text-center">
      <div class="col-xs-6">
        <img class="img-mar img-responsive" src="http://placehold.it/250?text=project1"</img></div>
       <div class="col-xs-6">
         <img class="img-mar img-responsive" src="http://placehold.it/250?text=project2"></img></div>
    </div>
   </div>
</br>
   <div class="container-fluid">
     <div class="row-fluid text-center">
       <div class="col-xs-6">
       <img class="img-mar img-responsive"
            src="http://placehold.it/250?text=project3"></img></div>
      <div class="col-xs-6">
       <img class="img-mar img-responsive" src="http://placehold.it/250?text=project4"></img></div>
    </div>
  </div>
</div>
<div id="contact">
  </br>
<h2><b>CONTACT</b></h2>
  <hr class="divider"></hr>
     <div class="container-fluid">
        <div class="row">
          <div class="col-xs-6">
            <form>
              <fieldset class="form-group">
                <input type="text" class="form-control" id="name" placeholder="Name">
              </fieldset>
              <fieldset class="form-group">
                <input type="text" class="form-control" id="email" placeholder="E-mail Address">
              </fieldset>
              <fieldset class="form-group">
                <textarea class="form-control" id="message" rows="3" placeholder="Message"></textarea>
              </fieldset>
              <button type="submit" class="btn btn-primary">Send <span class="glyphicon glyphicon-send"></button>
            </form>
              </br>
          </div>
          <div class="col-xs-6">
            <p class="text-center">Feel free to get in touch with me.</p>
          </div>
        </div>
      </div>
    </div>
<footer id="foot" class="back">
  <div class="container-fluid">
    <div class="row">
      <div class="col-xs-6">
        <h4 class="text-center"><strong>ABOUT THIS PAGE.</strong></h4>
        <p class="text-center">Made with <span class="glyphicon glyphicon-glass"></span> and <span class="glyphicon glyphicon-headphones"></span> by <a href="https://codepen.io/srishti-learner" target="_blank">Srishti sharma</a>
      </div>
    <div class="col-xs-6">
      <h4><STRONG>AROUND THE WEB<STRONG></h4>
      <a href="https://www.facebook.com/srishti.sharma.3572846" target="_blank"> <img  class="img-size"src="https://image.freepik.com/free-icon/facebook-round_318-26615.jpg"></img></a>
      <a href="https://www.linkedin.com/in/srishti-sharma-557222103?trk=nav_responsive_tab_profile_pic" target="_blank">
      <img  class="img-size" src="https://cdn3.iconfinder.com/data/icons/free-social-icons/67/linkedin_circle_black-512.png"></img> </a>
      <a href="https://github.com/srishti-learner" target="_blank"><img  class="img-size"src="https://cdn0.iconfinder.com/data/icons/octicons/1024/mark-github-256.png"></img></a>
    </div>
  </div> 
 </div>
</footer>
  <div class="darkfooter">
    <p class="text-center">Srishti Sharma &copy 2016. All Rights Reserved.</p>
  </div>
</div>
</body>
              
            
!

CSS

              
                body{
  padding-top:80px;
  background-color:grey;
}
header.topbar{
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0px;
    left: 0;
}
.navbar{
      background-color: #ff9999;
      border-bottom:2px solid black;
}
#about{
  background-color: lightgrey;
    padding: 50px;
    font-size: 18px;
  margin-left:80px;
  margin-right:80px;
}
#portfolio{
  background-color:white;
  margin-left:80px;
  margin-right:80px;
  padding:40px;
}
#contact{
  background-color:lightgrey;
   margin-left:80px;
  margin-right:80px;
}
/* Change the link color on hover */
img:hover {
    background-color: #fff;
    color: white;
}
h2{
 text-align:center;
}
.img-size{
  width:50px;
  height:50px;
  shape:circle;
   margin:5px 10px 10px 10px;
}
.divider {
    width: 80%;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    color: white;
    border: 0 none;
  }
  
footer.back{
  background-color:#ffffff;
    width: 100%;
    height: 100px;
    bottom: 0px;
    left: 0;
  padding:15px;
}
.darkfooter {
    background-color: white;
    padding: 5px;
    height:20px;
    color: white;
}
img-mar{
  margin:10px 10px 10px 10px;
}
.row-fluid{text-align:center;}
.img-responsive{margin:0 auto}
              
            
!

JS

              
                
              
            
!
999px

Console