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

              
                 <nav  class="navbar navbar-inverse navbar-fixed-top">
  <div id="navbar" lass="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Salyer Design Studio</a>
    </div>
    <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav">
        <li><a href="#home">Home</a></li>
        <li><a href="#about">About</a></li>
        <li><a href="#portfolio">Portfolio</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
  </div>
</nav>    
<div class="container-fluid">
  <div class="homeImage">
      <div id="home">
      <div class="row">
        <div id="header" class="col-sm-12">
          <h1>Salyer web Design</h1>
          <h3 id="subhead"> HTML, CSS and JQuery </h3>
        </div>
      </div>
      </div>
    <div id="aboutWrapper">
      <div id="about" class="row">
        <div class="col-sm-12">
          <h1 id="aboutHeading">About</h1>
      </div>
      </div>
  <div class="row">
    <div id="profileParent" class="col-sm-7">
      <span class="emptyProfile"></span>
      <p id="profileText">Welcome to the personal portfolio of an elementary school teacher. A man trying to create responsive, functional, and beautiful webpages. I have been learning to develop websites in between raising my son, loving my wife, and teaching 20 amazing 4th graders. Feel free to take a look at some of my projects and get in touch if you like what you see! <br/>-Brandon.</p>
    </div>
    <div class="col-sm-4">
      <img class="img-responsive" id="profile" src="https://lh3.googleusercontent.com/YZfeNZ-6EbTyT3N_eTM531ULycFuTeLezTJbIcmRj-r4OmRmQxkf4GVp5jnM-GINHHd9nhURLpNh7Aj_3MbkG7tO0VB-yljuLT9BtNKhJQEouV3M6K-Z3MXQISx8jisD6EZYJ6loGizXGSFhs49Bt6yamsxOfSV3k_Z82hJUfPFZkhMJqg7c_lxbqN1LjhOdSCndd2Z9S0oqa4kFYJNeEGhagC2Ou-IsO4KwmgPKcKJA0np3lYprYjDv_QjyR6iV3T8b7d94edx0SHgN3HbI9RoPAeqy8l8TS47UvsvWD-5Pp5OE9GZovheE0JYW5LvNF0CSnO4TJZO13OIQCN3rPXShwNU0pPxCa1ORUNOW6PGB5xK9Hyzo7KsIt7DTx0coH3l18Dy0nK_gU8c3rErJz0IjBNdsFbR3Tf02XQcjJFAquEHL22GVOd3E7xgGlAzZkD8WIKbGPC54K7qXXQP0Xt0K5kqs2uoXJZD7EPihTetF7UwfeHN2zqa1dOjrQfJcQq7C8Gl2wmUYRTJRI7B3HUKBR1_TvKy-m-azx9j2XXcCXjnrURDyZbIz-HKqCZN9j9VW7V7k0ThVKE-brr1GD0hS9_Z7pghRutdhwVvGb23F1H-RLyEPfA=w479-h638-no" alt="Me and my wife at Disneyworld">
    </div>
  </div>
  </div>
  </div>
  <div id="portfolioWrapper"> <!--portfolio wrapper-->
       <div class="row"> <!--header row-->
        <div class="col-xs-12"> <!--header col-->
          <h1 id="portfolio">Portfolio</h1>
         </div> <!--header row cl-->
      </div><!--header col cl-->
      <div class="row"> <!--portfolio row 1-->
        <div class="col-xs-2" id="projectOne"> <!--LS sample col-->
          <a href="https://codepen.io/goofydad21/pen/VmwaWV?editors=0010#0" target="_blank"><img src="http://img.lum.dolimg.com/v1/images/Luke-Skywalker_dd9c9f9b.jpeg?region=0%2C0%2C1536%2C864&width=768"  alt="Luke Skywalker Link"  id="projectOneImage"> </a>
          </div> <!-- LS col cl -->
            <div class="col-xs-2 portfolioSample1"> <!-- sample col -->
              <span class="empty"></span>
          <p class="portfolioText">Portfolio Sample</p>
        </div> <!-- sample col cl-->
        <div class="col-xs-2 portfolioSample"> <!-- sample col 2 -->
          <span class="empty"></span>
          <p class="portfolioText">Portfolio Sample</p>
        </div> <!-- sample col 2 cl-->
        <div class="col-xs-2 portfolioSample"> <!-- sample col 3-->
          <span class="empty"></span>
          <p class="portfolioText">Portfolio Sample</p>
        </div> <!-- sample col 3 cl-->
      </div> <!-- portfolio row 1 cl-->
</div> <!--portfoliowrapper cl-->
       <div id="contact" class="row">
        <div class="col-sm-12">
          <h1 id="contactHeader">Contact</h1>  
         </div>
      </div>
  <div class="row">
    <div class="col-sm-8">
      <form id="form">
        <div class="form-group">
          <label for="First Name">First Name</label>
          <input type="text" class="form-control" id="firstName"></input>
        </div>
      <div class="form-group">
        <label for="Last Name">Last Name </label>
        <input type="text" class="form-control" id="lastName">
        </input>
    </div>
    <div class="form-group">
      <label for="email"> Email Address </label>
      <input type="email" class="form-control" id="email">
      </input>
  </div>
  <div class="form-group">
    <label for="comments"> Give us your Thoughts! </label>
    <textarea class="form-control" rows="5" id="comments"></textarea>
  </div>
  <button type="submit" class="btn btn-primary">Submit</button>
      </form>
    </div>
</div>
<div class="row">
    <div class="col-sm-4">
        <a class="btn btn-block btn-social btn-twitter" href="https://twitter.com/bsalyer94">
    <span class="fa fa-twitter"></span> Follow me on Twitter
  </a>
  </div>
    <div class="col-sm-4">
          <a class="btn btn-block btn-social btn-facebook">
    <span class="fa fa-facebook"></span> Follow me on Facebook
  </a>
  </div>
    <div class="col-sm-4">
             <a class="btn btn-block btn-social btn-github" >
    <span class="fa fa-github"></span> Follow me on Github
  </a>
  </div>
      </div>
    </div> <!--Closes container-fluid-->

<div class="footer container-fluid">
    <div class="row">
      <div class="col-md-12">
        <hr class="line"></hr>
        <p class="text-center"> Written and coded by Brandon Salyer</p>
      </div>
    </div>
  </div>
              
            
!

CSS

              
                html{
  
}

body{
  padding-top:70px;
  font-family:georgia, sans-serif, monospace;
 background: url("https://d2lm6fxwu08ot6.cloudfront.net/img-thumbs/960w/HR9OA9JAFN.jpg") no-repeat center center fixed;
  background-size:100% 100%;
  color:#000;
}
#home{
  margin-left:auto;
  background-color: rgba(242, 242, 242, 0.7);
  border-radius: 25px;
  margin-right:auto;
  text-align:center;
}

#aboutHeading{
  margin-left:5%;

}

@media (max-width:567px){
  #aboutHeading{
    text-align:center;
    background-color: rgba(242, 242, 242, 0.7);
    border-radius: 25px;
    margin-left:0px;
}
}

#profile{
  border-radius:25px;
}

#profileParent{
  text-align:center;
}

.emptyProfile{
  line-height:375px;
}

#profileText{
  text-align:center;
  display:inline-block;
  vertical-align:middle;
  font-size:22px;
  background-color: rgba(242, 242, 242, 0.7);
  border-radius: 25px;
  margin-left:5px;
  
}

#aboutWrapper{
  padding-top:10px;
  padding-bottom:10px;
}

#portfolioWrapper{
  margin-left:10px;
  padding-bottom:10px;

  
}

@media (max-width:567px){
  #portfolio{
    text-align:center;
    background-color: rgba(242, 242, 242, 0.7);
    border-radius: 25px;
}
}

#projectOne{
 height:175px;
 width:225px;
  margin-right:15px;
  margin-top:15px;


}

#projectOneImage{
  height:175px;
  width:225px;
}


.portfolioSample1{
  background-color:#D3D3D3;
  width:225px;
  height:175px;
  text-align:center;
  margin-top:15px;
  margin-right:15px;
  margin-left:30px;
  margin-bottom:15px;

}

@media (max-width: 535px) {
  .portfolioSample1{
  background-color:#D3D3D3;
  width:225px;
  height:175px;
  text-align:center;
  margin-top:15px;
  margin-right:15px;
  margin-left:15px;
  margin-bottom:15px;
  }
}

.portfolioSample{
  background-color:#D3D3D3;
  width:225px;
  height:175px;
  text-align:center;
  margin:15px;
}

.empty{
  line-height:200px;
}

.portfolioText{
 vertical-align:middle;
  display:inline-block;
  
}

@media (max-width:567px){
  #contactHeader{
    text-align:center;
    background-color: rgba(242, 242, 242, 0.7);
    border-radius: 25px;
}
}
#form{
  padding-bottom:8px;
}

.line{
  color:#deedeb;
  background-color:#deedeb;
  width:100%;
  height:1px;
}

.footer{
  margin-left:50px;
  margin-right:50px;
}

              
            
!

JS

              
                
              
            
!
999px

Console