cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <header class="container-fluid">
  <nav class="navbar navbar-default">
    <div class="pull-left pull-down" id="site-id">
      <div>Carl Parrish</div>
    </div>
    <!-- Navigation Buttons -->
    <div class="navbar-text pull-right pull-down">
      <ul class="nav nav-pills">
        <li class="active"><a href="#home"><span class="glyphicon glyphicon-home"></span> Home</a></li>
        <li><a href="#about"><span class="glyphicon glyphicon-info-sign"></span> About</a></li>
        <li><a href="#portfolio"><span class="glyphicon glyphicon-th-list"></span> Portfolio</a></li>
        <li><a href="#contactUs"><span class="glyphicon glyphicon-envelope"></span> Contact</a></li>
      </ul>
    </div>
  </nav>
</header>
<div id="main-body" class="container-fluid">
  <section class="jumbotron" id="canvas">
    <div class="site-name" id="site-title">SourceCode Samurai</div>
    <div class="slogan">
      Straight Up Street Geek
      <br/>
      <hr/>
    </div>
    <div class="btn-container" align="center">
      <div class="btn-group btn-group-lg" id="profile">
        <a class="btn btn-lg btn-info" href="https://www.twitter.com/cparrish817"><span class="fa fa-twitter"></span> Twitter</a>
        <a class="btn btn-lg btn-info" href="https://github.com/carl-parrish"><span class="fa fa-github"></span> Github</a>
        <a class="btn btn-lg btn-info" href="https://www.linkedin.com/in/carlparrish"><span class="fa fa-linkedin-square"></span> linkedin</a>
        <a class="btn btn-lg btn-info">FreeCodeCamp</a>
      </div>
    </div>
  </section>
  <a name="about"></a>
  <section class="aboutCanvas" id="about" style="margin:10px;">
    <div class="container-fluid">
      <h1>About Me!</h1>
      <div id="profile" class="row">

        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
          <img src="http://sourcecodesamurai.com/images/me_water2.jpg" id="profilePicture" class="img-responsive img-circle" />
          <div class="navbar-text pull-left">
            <div class="btn-group btn-group-md">
              <a href="https://github.com/carl-parrish" class="btn btn-primary" title="GitHub">
                <span class="fa fa-github"></span>
              </a>
              <a href="http://stackoverflow.com/users/9677/cparrish817" class="btn btn-primary" title="Stackoverflow">
                <span class="fa fa-stack-overflow"></span></a>
              <a href="https://www.twitter.com/cparrish817" class="btn btn-primary" title="twitter">
                <span class="fa fa-twitter"></span></a>
              <a href="https://instagram.com/cparrish817/" class="btn btn-primary" title="instagram">
                <span class="fa fa-instagram"></span></a>
              <a href="https://codepen.io/carl-parrish/" class="btn btn-primary" title="codepen">
                <span class="fa fa-codepen"></span></a>
              <a href="https://www.linkedin.com/in/carlparrish" class="btn btn-primary" title="linkedin">
                <span class="fa fa-linkedin-square"></span></a>
              <a href="https://plus.google.com/+CarlParrish/posts" class="btn btn-primary" title="G+"><span
                                class="fa fa-google-plus"></span></a>
            </div>

          </div>
        </div>
        <div class="col-xs-12 col-sm-6 col-md-6 col-lg-8">
          <p id="bio">
            I'm a Javascript, PHP, Node, Python, Ruby, LAMP web developer / devOps guy. I'm a vegan gamer, a sci-fi / fantasy / comicbook fan and a movie / music lover. I'm a open-source evangelist, permiculture activist, gardener &amp; world traveller. I'm a sex
            positive christian and entrepreneur. In short there is probably something for you to both love and hate here. Welcome to my soapbox.</p>
          <div class="row">
            <div class="col-xs-12 col-sm-3 col-md-3 col-lg-4">
              You can find more about my Coding at the following:
              <ul>
                <li><a href="https://coderbits.com/cparrish817">CoderBits</a></li>
                <li><a href="https://www.codeeval.com/profile/carl-parrish/">CodeEval</a></li>
                <li><a href="https://backpack.openbadges.org/share/e2dc6b93d8a0edcb5b1232a393d9b6ab/">Mozilla's
                                Backpack</a></li>
                <li><a href="https://www.codecademy.com/cparrish817">Codecademy</a></li>
                <li><a href="https://www.codeschool.com/users/352738">Codeschool</a></li>
                <li><a href="https://www.freecodecamp.com/carl-parrish">FreeCodeCamp</a></li>

              </ul>
            </div>
            <div class="col-xs-12 col-sm-3 col-md-3 col-lg-4">
              And More about my other interests at these sites:
              <ul>
                <li><a href="https://about.me/carl_parrish">aboutMe</a></li>
                <li><a href="https://www.goodreads.com/user/show/2363975-carl">Goodreads</a></li>
                <li><a href="https://alpha.app.net/cparrish">alpha.app.net</a></li>
                <li><a href="https://angel.co/carl-parrish">angel.co</a></li>
                <li><a href="http://yesphx.com/">#yesphx</a></li>
                <li><a href="http://why.az/">#whyaz</a></li>
                <li><a href="http://www.quora.com/Carl-Parrish-2">quora</a></li>

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

      </div>
    </div>
  </section>
  <a name="portfolio"></a>
  <section id="portfolio" class="presentation">
    <h1>Portfolio</h1>
    <table class="mysites">
      <tr>
        <td>Coming Soon!</td>
        <td>Coming Soon!</td>
        <td>Coming Soon!</td>
      </tr>
      <tr>
        <td>Coming Soon!</td>
        <td>Coming Soon!</td>
        <td>Coming Soon!</td>
      </tr>
    </table>
  </section>
  <section id="contactSection">
    <div id="contactUs" class="container-fluid">
      <h1><a name="#contactUs"> Contact Me!</a></h1>
      <p class="help-block">On Twitter @cparrish817</p>
      <form name="contactForm" id="contactForm" class="form-horizontal" novalidate method="post" action="http://sourcecodesamurai.com/scripts/contactForm.js">
        <div class="form-group">
          <label for="contactName" class="col-sm-2 control-label">
            Name:</label>
          <div class="col-sm-10">
            <input type="text" name="contactName" id="contactName" class="form-control input-lg" placeholder="Name" required/>
          </div>

        </div>
        <div class="form-group">
          <label for="contactEmail" class="col-sm-2 control-label">Email:</label>
          <div class="col-sm-10 ">
            <input type="email" id="contactEmail" class="form-control input-lg has-warning has-feeback" name="contactEmail" placeholder="Email" required/>
          </div>

        </div>

        <div class="form-group">
          <label for="emailBody" class="col-sm-2 control-label">Message:</label>
          <div class="col-sm-10">
            <textarea class="form-control" rows="4" name="emailBody" placeholder="Message Body" required></textarea>
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default" value="Submit">Submit</button>
            </ <div>
          </div>

      </form>
      </div>

  </section>
  </div>
  <footer>
    <a href="#home">Home</a>
    <a href="#about">About Me</a>
    <a href="#portfolio">Portfolio</a>
    <a href="#contactUs">Contact Me</a>
  </footer>
  <script type="text/javascript" src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
  <script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
  <script type="text/javascript" src="js/bootstrap.min.js"></script>
  <script>
    !function ($) { //ensure $ always references jQuery
        $(function () { //when dom has finished loading
            //make top text appear aligned to bottom: http://stackoverflow.com/questions/13841387/how-do-i-bottom-align-grid-elements-in-bootstrap-fluid-layout
            function fixHeader() {
                //for each element that is classed as 'pull-down'
                //reset margin-top for all pull down items
                $('.pull-down').each(function () {
                    $(this).css('margin-top', 0);
                });

                //set its margin-top to the difference between its own height and the height of its parent
                $('.pull-down').each(function () {
                    if ($(window).innerWidth() >= 768) {
                        $(this).css('margin-top', $(this).parent().height() - $(this).height());
                    }
                });
            }

            $(window).resize(function () {
                fixHeader();
            });

            fixHeader();
        });
    }(window.jQuery);
  </script>
  </body>

  </html>
            
          
!
            
              /* Media Queries
================*/
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .navbar-default{
        background: linear-gradient(to bottom, #080A11 0px, #25325F 100%);
    }
    .jumbotron{
        background: url('http://sourcecodesamurai.com/images/cliff_lg.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 800px;
    }
    .presentation{
        background: url('http://sourcecodesamurai.com/images/landscape-mountains-lg.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 600px;
    }

}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .jumbotron{
        background: url('http://sourcecodesamurai.com/images/cliff_lg.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 800px;
    }
    .presentation{
        background: url('http://sourcecodesamurai.com/images/landscape-mountains-lg.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 600px;
    }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .jumbotron{
        background: url('http://sourcecodesamurai.com/images/cliff_md.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 426px;
        background-blend-mode: overlay;
    }
    .presentation{
        background: url('http://sourcecodesamurai.com/images/landscape-mountains-md.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 600px;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    #site-name{
        font-size: 28px;
    }
    .jumbotron{
        background: url('http://sourcecodesamurai.com/images/cliff_sm.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 426px;
    }
    .presentation{
        background: url('http://sourcecodesamurai.com/images/landscape-mountains-sm.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 600px;
    }

}

/* Portrait phones and smaller */
@media (max-width: 480px) {
    #site-name{
        font-size: 24px;
    }
    .jumbotron{
        background: url('http://sourcecodesamurai.com/images/cliff_sm.jpg') no-repeat, linear-gradient(to bottom, #080A11 0, #25325F 100%);
        height: 426px;
    }

}
/* Logos & Icons
==============*/


#site-id{
    margin: auto;
    font-size:24px;
    color: #86d8e4;
}
.site-name {
    text-align: center;
    background: -webkit-linear-gradient(#25325F, #86d8e4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Droid Sans', 'Montserrat', sans-serif;
    font-size:64px;
    font-weight: 800;
    color: #1081d8;
    padding-bottom: 0px;
}

.slogan {
    color: #7F8188;
    margin: 0px 10px;
    text-align: center;
}

.thumbnail .fa, .thumbnail .glyphicon {
    background: -webkit-gradient(linear, 0 100%, 0 0, from(#337ab7), to(#265a88));
    background: -webkit-linear-gradient(#337ab7 0%, #265a88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size:24px;
    color: blue;
}

#profilePicture{
    border-radius: 100%;
    margin: 5px 1em;
}

/*  Typography
================================*/
.navbar-text {
    font-weight: bold;
    margin-right: 0;
}

/* Layout
==============*/
/*#main-body{ margin-top: 50px;}*/
.pull-down{
    margin-bottom: 0;
}

#profile{
    margin: auto;
    text-align: center;
}
.btn-container{
    margin:auto;
    width: 100%;
}
/* Colors
==============*/

.navbar-default{
    background:linear-gradient(to bottom, #080A11 0px, #25325F 100%);
    /*background-blend-mode: overlay;*/
}



body{
    background: #080A11;
}

header{
    position: fixed;
    width: 100%;
    z-index: 0;
}

.jumbotron{
    margin-top: 10px;
    display: inline-block;
    width:100%;
    background-blend-mode: overlay;
}

.presentation{
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    background-blend-mode: overlay;
}

#about{
    margin-top: 10px;
    background: linear-gradient(to bottom, #080A11 0px, #25325F 100%);
}



h1{
    margin-top:50px;
    padding: 10px;
    color: #080A11;
    background: -webkit-linear-gradient(#25325F, #86d8e4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Droid Sans', 'Montserrat', sans-serif;
}
.caption h3{ display: inline;}
.jumbotron .container-fluid{
    background-color: #CACDCD;
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 5px rgba(0, 0, 0, 0.075);
}
.navbar-default{
    border-color: #000000;
}
table.mysites{
    margin: auto;
    margin-top: 10%;
    border-style: inset;
    border-color: #8c8c8c;
    border-width: thick;
    border-collapse: separate;
    border-spacing: 10px 10px;
    width: 60%;
}
td{
    margin: auto;
    border-width: thick;
    bordercolor: #8c8c8c;
    padding: 18px;
    width: 80px;
    height: 80px;
    background-color: #c4e3f3;
    text-align: center;
}

#contactUs{
    background-color: #286090;
}

/* Text
==============*/
#bio{
    font-family: 'Roboto Slab', serif;
    margin-top: 5px;
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console