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

              
                <div class="container-fluid">
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbarcollapse">
        <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="#">Garden</a>
      </div>
      <div class="collapse navbar-collapse" id="navbarcollapse">
        <ul class="nav nav-pills nav-justified">
          <li class="active"><a href="#">Home</a></li>
          <li><a href="#backyard">Back yard</a></li>
          <li><a href="#frontyard">Front Yard</a></li>
        </ul>
      </div>
    </div>
  </nav>
</div>


<!-- original navbar-->
<!--
<nav class="navbar navbar-default navbar-fixed-top" style="background-color:#37cea6">
  <div class="container">
    <ul class="nav nav-pills nav-justified">
      <li role="presentation" class="active"><a href="#home">Home</a></li>
      <li role="presentation"><a href="#backyard">Back yard</a></li>
      <li role="presentation"><a href="#frontyard">Front Yard</a></li>
    </ul>
  </div>
</nav>
-->

<!-- Start Body -->
<!-- Start Body -->

<a name="home"></a>
<div class="well" id="intro">
 <div class="row centered">
  <div class="col-md-6 col-sm-7 vcenter">
        <p id="introtext">I'm a first time Arizona gardener. I wanted to showcase what I'm growing, and how it progresses over time.</p>
        <p id="name">Ty Jerome</p>
  </div><!-- ... -->
  <div class="col-md-5 col-sm-4 vcenter">
        <img class="img-responsive img-circle" id="face" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/face.jpg" alt="My face.">
   </div>
  </div>
 </div>

  <!-- Start Back Yard -->
  <!-- Start Back Yard -->
  <div class="well" id="backyard">
    <a name="backyard"></a>
    <p id="backyardtext"><strong>BACK YARD</strong></p>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/eggplant.jpg" alt="Eggplant">
        <p id="plantname">Eggplant</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/Lettuceagain.jpg" alt="Lettuce">
        <p id="plantname">Lettuce</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/beats.jpg" alt="Raddish?">
        <p id="plantname">Raddish?</p>
      </div>
    </div>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/Pomegranat.jpg" alt="Pomegranate">
        <p id="plantname">Pomegranate</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/purplelettuce.jpg" alt="Red Lettuce">
        <p id="plantname">Red Lettuce</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/Peas.jpg" alt="Snap Peas">
        <p id="plantname">Snap Peas</p>
    </div>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/banana.jpg"alt="Banana">
        <p id="plantname">Banana</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/basil.jpg" alt="Basil">
        <p id="plantname">Basil</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/cilantro.jpg" alt="Cilantro|Coriander">
        <p id="plantname">Cilantro|Coriander</p>
      </div>
    </div>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/yellowsquash.jpg" alt="Yellow Squash">
        <p id="plantname">Yellow Squash</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded  displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/lettucegreen.jpg" alt="Lettuce">
        <p id="plantname">Lettuce</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/whoknows.jpg" alt="No Clue">
        <p id="plantname">No Clue</p>
      </div>
    </div>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/onion.jpg"alt=Onion>
        <p id="plantname">Onion</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/morelettuceagain.jpg"alt="Lettuce">
        <p id="plantname">Lettuce</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/randomlettuce.jpg" alt="Lettuce">
        <p id="plantname">Lettuce</p>
      </div>
    </div>
  </div>
</div>

  <!-- Start Front Yard -->
  <!-- Start Front Yard -->

  <div class="well" id="frontyard">
    <a name="frontyard"></a>
    <p id="frontyardtext">FRONT YARD</p>
    <div class="row">
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/randomflowers.jpg" alt="Random Surprise Flowers">
        <p id="plantname">Random Surprise Flowers</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/marigoldsandzennias.jpg" alt="Marigolds and Zennias">
        <p id="plantname">Marigolds and Zennias</p>
      </div>
      <div class="col-md-4">
        <img style="padding-top: 20px" class="img-responsive img-rounded displayed" src="http://i17.photobucket.com/albums/b96/Proxim1/Garden/Artichoke.jpg" alt="Artichoke">
        <p id="plantname">Artichoke</p>
      </div>
    </div>
  </div>
</div>


  <!--Start Form-->
  <!--Start Form-->
  <div class="well" id="form">
    <div class="row">
      <div class="col-md-5">
        <input type="text" class="form-control" placeholder="First Name" required>
        <input type="text" class="form-control" placeholder="Last Name" required>
        <input type="text" class="form-control" placeholder="E-Mail Address" required>
        <input type="text" class="form-control" placeholder="Phone" required>
        <input type="text" class="form-control input-lg" placeholder="Questions and Requests" style="height:150px;" required>
      </div>
      <div class="col-md-7">
        <p><strong>Send me all your information in the form of a question or request. </p>
       <p>I'll sell it, and you will recieve spam.</strong></p>
        <button type="submit" class="btn btn-primary"><i class="fa fa-paper-plane"></i> Submit</button>
      </div>
    </div>
  </div>

</div>
              
            
!

CSS

              
                body { 
  padding-top: 75px;
  background-color: #595959;
}

#intro {
  background-color: #990099;
}

#introtext {
  text-align: center;
  font-size: 20px;
}

#name {
  text-align: center;
  font-size: 20px;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

#face {
    width:100%;
    max-width:300px;
}

.centered {
   text-align: center;
   font-size: 0;
}

.centered > div {
   float: none;
   display: inline-block;
   text-align: left;
   font-size: 13px;
}

#backyard {
  background-color: #55ff00;
}

  
#backyardtext {
  text-shadow: 0px -2px 0px #333,
0px 2px 3px #666;
  text-align: center;
  font-size: 40px;
}

#plantname {
  text-align: center;
  font-size: 20px;
}

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

#frontyardtext {
  text-shadow: 0px -2px 0px #333,
0px 2px 3px #666;
  text-align: center;
  font-size: 40px;
}

#frontyard {
  background-color: #ffff33;
}

#form {
  background-color: #669999;
}
              
            
!

JS

              
                window.addEventListener("hashchange", function() { scrollBy(0, -50) })




              
            
!
999px

Console