Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <div class="container-fluid ">
  <div class=" pageone text-center">
    <ul class="nav nav-pills">
      <li class="pull-right hover-effect">
        <a href="#contact">Contact</a></li>
      <li class="pull-right hover-effect">
        <a href="#portfolio">Portfolio</a></li>
      <li class="pull-right hover-effect">
        <a href="#about">About </a></li>
      <li class="hover-effect">

      </li>


    </ul>
  </div>
  <div id="about">
    <div class="block">
      <h1>Trayvon Banks</h1>

      <h2>I am  a 20 year old future full stack web developer who has a passion for technology and all of the wonderful things that come along with it .</h2>
      <!--set up contact links again-->
      <center>
        <div class="btnList">
          <a class="btn btn-default" href="https://www.facebook.com/trayvon.banks.1" target="_blank">Facebook</a>
          <a class="btn btn-default" href="https://github.com/TrayBanks" target="_blank">Github</a>
          <a class="btn btn-default" href="https://github.com/TrayBanks" target="_blank">Twitter</a>
          <a class="btn btn-default" href="https://github.com/TrayBanks" target="_blank">FreeCodeCamp</a></div>
    </div>
  </div>
</div>
<center>
  <br><br><br><br><br><br>

  <div class="PageTwo text-center">
    <div id="portfolio">
      <h1>Portfolio</h1>

      <div class="row">


        <!--Deleting this div class moves contact right on top of portfolio-->
        <div class="portfolio-hover-content">


          <!--resize image-->
          <!--Deleting this class hides pictures, find out why that is???-->
          <div class="portfolio-caption">


            <!--Find out how to properly resize image to match with others-->
            <div class="col-md-4 col-sm-6">
              <img class="img-responsive" src="http://www.wallpaperup.com/uploads/wallpapers/2014/09/26/457788/big_thumb_6e8c4712fc60ce325937d95afeb3610b.jpg" alt=null>
              <h4>Future Project</h4>
            </div>
            <div class="col-md-4 col-sm-6">
              <a href="https://codepen.io/TrayBanks/full/rLXvxk/" target="_blank">
                <img class="img-responsive" src="https://s14.postimg.io/av1qvqb7z/port_1.jpg" alt=null id="tribute">
                <h4>Tribute Page</h4></a>
            </div>
            <div class="col-md-4 col-sm-6 ">
              <img class="img-responsive" src="http://www.wallpaperup.com/uploads/wallpapers/2014/09/26/457788/big_thumb_6e8c4712fc60ce325937d95afeb3610b.jpg" alt=null>
              <h4>Future Project</h4>

            </div>
          </div>
        </div>
      </div>
    </div>

    <br><br><br><br><br><br>
    <div class="PageThree text-center">
      <div id="contact">
        <h1>Contact me</h1>
        <div class="contact-form">
          <form>

            <input type="text" name="Email" placeholder="First Name"><br>
            <br>
            <input type="text" name="Email" placeholder="Last Name"><br>
            <br>
            <input type="email" name="Comment" placeholder="E-mail"><br><br>
            <textarea placeholder="Thoughts on my work" rows="4"></textarea><br><br>
            <input type="submit" value="Submit">
          </form>
        </div>
      </div>
            
          
!
            
                body {
  background: url(https://static.pexels.com/photos/30588/pexels-photo-30588.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: 'Play', sans-serif;
  color: black;
  !important;
}

.container-fluid {
  margin: 0;
  padding: 0;
}

.nav-pills {
  font-size: 1.7em;
  opacity: .;
  color: black;
  margin-bottom: 1%;
  width: 100%;
}

.block {
  margin-right: auto;
  margin-left: auto;
  opacity: .8;
  padding: 10px;
  width: 75%;
  margin-top: 10%;
}

.btn-default {
  border-color: ;
  color: blue;
  size: 1.5em;
}

h1 {
  text-align: center;
  padding: 0;
  margin-top: 0px;
  font-size: 5.0em;
  color: white;
}

h2 {
  text-align: center;
  color: white;
}

.pageone {
  background-size: cover;
  height: relative;
  position: absolute;
  width: 100%;
}


/* Hover on navbar */

li.hover-effect a {
  transition: all .3s ease-in, all .3s ease-out;
  color: white;
}

li.hover-effect a:hover {
  background-color: white;
  color: black;
}


/**Portfolio portions**/

.PageTwo {
  background-size: cover;
  height: relative;
  position: absolute;
  width: 100%;
}

IMG {
 
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h4 {
  color: white;
}
#tribute{
  height:261px;
}


.PageThree {
  background-size: cover;
  height: relative;
  position: absolute;
  width: 100%;
}

.contact-form {
  text-align: center;
  border: 1px solid white;
  width: 40%;
  margin: 0 auto;
  /* This one centers the form div */
  margin-top: 5%;
  /* This one pushes it on the bottom but there are different ways, this one won't work always most likely */
  margin-bottom: 5%;
  /* Adds just a bit margin on the bottom for aesthetics */
}

::-webkit-input-placeholder {
  color: black;
  /* Makes placeholder's text black */
}

.contact-form * {
  padding: 5px;
}

form input,
form textarea {
  width: 95%;
  text-align: center;
}


/* Smooth hover effect on links */

.hover-effect a {
  transition: all .3s ease-in, all .3s ease-out;
  color: white;
}

.hover-effect a:hover {
  color: black;
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console