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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <!-- Top -->
<nav class="navbar navbar-default" id="top">
  <div class="container-fluid">
    <!-- Brand Image -->
    <div class="navbar-header">
      <a class="navbar-brand" href="#home"><strong>RFG</strong></a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-left">
        <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" id="main_section">

  <div class="row">
    <div class="col-md-12" id="about">
      <!--img src="http://www.robglo.com/wp-content/uploads/2016/11/Hammock-3.png" class="img-responsive"-->
      <!-- About -->
      <h2>About Me</h2>

      <h1>Robert Glover's Portfolio Page</h1>
      <p>I am teaching myself web design, as well as Java and the Spring framework.</p>
      <p>I'm devouring all of the programming tutorials on
        <a href="https://www.khanacademy.org/" target="_blank">Khan Academy</a>,
        <a href="https://www.freecodecamp.com/" target="_blank">FreeCodeCamp</a>, 
        <a href="https://www.caveofprogramming.com/" target="_blank">Cave of Programming</a>, 
        and many others.
      </p>
      <p>On a non-programming note, please check out my humor blog at <a href="http://www.robglo.com" target="_blank">www.robglo.com</a> for a few laughs.</p>

      <p><a href="#top" class="return">Return to top</a></p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-12" id="portfolio">
      <!-- Portfolio -->
      <h2>My Portfolio</h2>

      <p>As I complete projects on Free Code Camp, I will continue to add to this section and hopefully improve the page.</p>

      <div class="container marketing">
        <div class="row">
          <div class="col-lg-4">
            <img class="img-circle" src="https://upload.wikimedia.org/wikipedia/commons/b/bc/Sir_Winston_Churchill_-_19086236948.jpg"
                 alt="Winston Churchill Tribute" width="140" height="140">
            <h2>Winston Churchill Tribute Page</h2>
            <p>Winston Churchill saved Great Britain from the Nazis, wasn't fooled by the evil Communist Joe Stalin, and fought hard against British socialists.</p>
            <p><a class="btn btn-default" href="http://codepen.io/robertfg/full/wJOqKd/" target="_blank" role="button">View details &raquo;</a></p>
          </div>
          <div class="col-lg-4">
          </div>
          <div class="col-lg-4">
          </div>
        </div>
      </div>

      <p><a href="#top" class="return">Return to top</a></p>
    </div>
  </div>
  <div class="row">
    <div class="col-md-4">
      <!-- Contact -->
      <h2>Contact Me</h2>
      <p>Anytime - even while I'm napping!</p>

      <!-- Brand image>
<div>
<img class="RFG-brand" alt="RFG" src="http://www.robglo.com/wp-content/uploads/2016/11/RFG.jpg">
</div-->

      <div class="footer-social-icons">
        <ul class="social-icons">
          <li>
            <a href="https://github.com/robertfg" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-github"></i></a>
          </li>
          <li>
            <a href="https://www.facebook.com/robert.glover.5074" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-facebook"></i></a>
          </li>
          <li>
            <a href="https://twitter.com/robert_f_g" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-twitter"></i></a>
          </li>
          <li>
            <a href="https://www.instagram.com/robert_f_g/" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-instagram"></i></a>
          </li>
          <li>
            <a href="https://www.linkedin.com/in/robertfglover/" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-linkedin"></i></a>
          </li>
          <li>
            <a href="https://plus.google.com/+RobertGloverAuthor" class="social-icon" target="_blank">
              <i class="fa fa-3x fa-google-plus"></i></a>
          </li>
        </ul>
      </div>

      <p><a href="#top" class="return">Return to top</a></p>
    </div>
    <div class="col-md-8" id="contact">
    </div>
  </div>
</div>  

<footer class="footer" id="bottom">
  <div class="container">
    <p class="text-muted">I would be honored if you stole my source code.  RFG 2017.</p>
  </div>
</footer>

              
            
!

CSS

              
                body {
  background-color:	lightGray;
}
h1, h2 {
  font-weight:	bold;
  //color: 			MediumSeaGreen;
  color: 			#777;
}
p {
  font-family:	garamond, serif;
  font-size:		2em;
}
.col-lg-4 p {
  font-size:		1.2em;
}
.footer p {
  font-family:	sans-serif;
  font-size:		1.2em;
  text-align:		center;
  margin:			15px;
}
.return {
  color:			MediumSeaGreen;
  font-family:	gotham, sans-serif;
  font-size:		0.5em;
  font-style:		italic;
  text-align:		right;
}
.RFG-brand {
  vertical-align:	top;
  margin:			0;
  padding:		0;
  height:			300px;
  border:			5px solid blue;
}
.social-icons {
  list-style-type:	none;
}
#portfolio {
  background-color:	white;
}
#contact {
  background-image:		url("http://www.robglo.com/wp-content/uploads/2016/11/Hammock-3.png");
  background-position:	top;
  background-repeat:		no-repeat;
  //background-size:		cover;
  //background-color:		MediumSpringGreen;
  height:					400px;
  //height:					100%;
  //opacity:				0.5;
  //position: 				relative;
  align:					middle;
}
#top, #bottom {
  background-color: MediumSpringGreen;
}

              
            
!

JS

              
                
              
            
!
999px

Console