Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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-default fixed-top bg-primary navbar-inverse navbar-toggleable-sm">
 <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarDropDown" aria-controls="navbarDropDown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
    <a class="navbar-brand mo-brand"  href="#">PC Blues</a>  
      
<div class="collapse navbar-collapse justify-content-end" id="navbarDropDown">
    <div class="navbar-nav">
      <a class="nav-item nav-link mo-brand" href="#">About</a>
      <a class="nav-item nav-link mo-brand" href="#Portfolio">Portfolio</a>
      <a class="nav-item nav-link mo-brand" href="#ForFun">For Fun</a>
      <a class="nav-item nav-link mo-brand" href="#Contact">Contact</a>
    </div>
        </div>
    
</nav>
<div class="container-fluid">
<div class="container mo-container mo-pagetext">
  
  <span class="mo-header">About</span>
  
  <p>"The more I learn the less I know."<img class = "img-fluid mo-round" src="http://pcblues.com/assets/images/mefreelancer.jpg"</img></p>
  
  </div>
  <div class="container mo-container  mo-pagetext">
  <a name="Portfolio">
    <span class="mo-header">Portfolio</span>
  </a>
  <p>
  <a href="https://codepen.io/pcblues/full/EmrRwd/">A tribute to the forgotten member of One Direction<br><img class="img-fluid mo-round" src="http://pcblues.com/assets/images/tribute.png"></a>
</p>
  </div>
  <div class="container mo-container mo-pagetext">

  <a name="ForFun">
  <span class="mo-header">For Fun</span>
  </a>
  <p>Upgrading the graphics card in my PC, installing Ubuntu and Anaconda and using Deep Dream to use neural networks to turn sausages into dogs. Hot Dog!<br>

  <img class="img-fluid mo-round" src="http://pcblues.com/assets/images/sausage1.jpg"></img>
  </p>
</div>
<div class="container mo-container mo-pagetext">
  <a name="Contact">
    <span class="mo-header">Contact</span>
  </a>
  <p>
  <a href="http://pcblues.com" target="_blank">pcblues</a>&nbsp;&nbsp;  
  <a href="https://github.com/pcblues" target="_blank">github</a>  &nbsp;&nbsp;
  <a href="https://twitter.com/pcblues" target="_blank">twitter</a>  &nbsp;&nbsp;
  <a href="https://www.facebook.com/mark.d.osborne" target="_blank">facebook</a> &nbsp;&nbsp;
  <a  href="https://www.youtube.com/user/pcblues" target="_blank">youtube</a>
  </p>
  </div>
  </div>
  </div>

              
            
!

CSS

              
                

body
{
    padding-top:60px; 
}


.mo-pagetext
{
    font-family: Courier New, Courier, monospace;
    text-align: center;
    
}
.mo-portdescrip
{
    font-family: 'Times New Roman', Times, serif;
}
.mo-brand
{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

.mo-header
{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 40px;
    padding-top:100px;
    margin-top: -100px;
    text-align: center;
}

.mo-container
{

    padding:15px 15px 14px 15px;
    margin: 15px;
    border-radius:10px;

}

.mo-round
{
    border-radius: 10%;
    margin-top: 10px;
}

.social [class*="fa fa-"] {
    background-color: #333;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin: auto 3px;
    width: 30px;
    font-size: 15px;
    text-align: center;
}
              
            
!

JS

              
                // Test comment
              
            
!
999px

Console