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

              
                
<html>
<head>
  <!-- Below are the links to fonts, stylesheets and bootstrap-->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
  <link href='https://fonts.googleapis.com/css?family=Quicksand:400,300,700|Raleway:400,100,200,300,500' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/customcss.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
<body>

  <!--Below this is the navbar html -->
  <div id="custom-bootstrap-menu" class="navbar navbar-default navbar-fixed-top" role="navigation">
      <div class="container-fluid">
          <div class="navbar-header"><a class="navbar-brand" href="#home">CHRIS BALL</a>
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-menubuilder"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
              </button>
          </div>
          <div class="collapse navbar-collapse navbar-menubuilder">
              <ul class="nav navbar-nav navbar-right">
                  <li><a href="#home">home</a>
                  </li>
                  <li><a href="#about">about</a>
                  </li>
                  <li><a href="#projects">projects</a>
                  </li>
                  <li><a href="#contact">contact</a>
                  </li>
              </ul>
          </div>
      </div>
  </div>



<!--Below this is the home section -->
  <div class="home" id="home">

    <div class="jumbotron">
      <div class="container">

        <div class="row"><div class="col-xs-12"><h1 class="text-center">STYLISH / RESPONSIVE / UNIQUE</h1></div></div>

        <div class="row"><div class="col-xs-12"><p class="text-center">front end web development</p></div></div>

        <div class="row">
          <div class="col-xs-12 text-center" id="homeicons">
            <a class="btn iconwhite" href="https://github.com/Balldy" target="blank"><i class="fa fa-github-square fa-2x"></i></a>
            <a class="btn iconwhite" href="https://es.linkedin.com/in/christopher-ball-548680a7" target="blank"><i class="fa fa-linkedin fa-2x"></i></a></a>
            <a class="btn iconwhite" href="https://twitter.com/chrisballdy" target="blank"><i class="fa fa-twitter fa-2x"></i></a>
            <a class="btn iconwhite" href="https://www.instagram.com/cball02/" target="blank"><i class="fa fa-instagram fa-2x"></i></a>
          </div>
        </div><!--icons-->

    </div> <!--container-->
    </div>  <!--jumbotron-->

    <div class="row" id="footerhome">
    <div class="col-xs-6"> <a href="#about"><span class="glyphicon glyphicon-chevron-down arrowwhite" aria-hidden="true" id="arrow"></span></a></div>
  </div> <!--footer row-->

  </div>   <!--home section-->


<!-- Below is the about section-->

  <div class="about" id="about">
    <div class="container">

      <div class="row" id="aboutheader"><div class="col-xs-12"><h2>About</h2></div></div>

      <div class="row"><div class="col-xs-12"><p>I am a self taught front end web developer, originally from Ireland but currently based in Barcelona, Spain.
        I enjoy designing and coding any kind of site or web app, so if you have a
        project or an idea you'd like to collaborate on, please don't hesistate to get in touch.
        Mainly, I work with HTML5, CSS, JavaScript.</p></div></div>


        <div class="row" id="footerabout">
        <div class="col-xs-12"> <a href="#projects"><span class="glyphicon glyphicon-chevron-down arrowwhite" aria-hidden="true" id="arrow"></span></a></div>
      </div> <!--footer row-->

      </div> <!--containter-->
    </div> <!--about-->



<!-- Below is the projects section-->

  <div class="projects" id="projects">
    <div class="container">

    <div class="row" id="projectsheader"><div class="col-xs-12"><h2>Projects</h2></div></div>

    <!-- Thumbnails -->
    <div class="row" id="projectsthumbnails"><div class="col-xs-12">

      <!-- Project one thumbnail-->

          <div class="col-xs-4 col-sm-6 col-md-4">

              <div class="thumbnail">
                <img class="img-responsive" src="http://placehold.it/350x150" alt="...">

                <div class="caption">
                  <h3>Project 1</h3>
                  <p>This was a project</p>
                  </div>

              </div>

            </div>


          <!-- Project 2 thumbnail-->


              <div class="col-xs-4 col-sm-6 col-md-4">

                  <div class="thumbnail">
                    <img  class="img-responsive" src="http://placehold.it/350x150" alt="...">

                    <div class="caption">
                      <h3>Project 2</h3>
                      <p>This was a project</p>
                      </div>

                  </div>

                </div>


              <!-- Project 3 thumbnail-->


                  <div class="col-xs-4 col-sm-6 col-md-4">

                      <div class="thumbnail">
                        <img  class="img-responsive" src="http://placehold.it/350x150" alt="...">

                        <div class="caption">
                          <h3>Project 3</h3>
                          <p>This was a project</p>
                          </div>

                      </div>

                    </div>


                </div>
              </div>

            <!-- End of thumnails-->


            <div class="row" id="footerprojects">
            <div class="col-xs-12"> <a href="#contact"><span class="glyphicon glyphicon-chevron-down arrowwhite" aria-hidden="true" id="arrow"></span></a></div>
          </div> <!--footer row-->

    </div> <!--container-->
  </div>  <!-- projects section-->

<!-- Below is the contact section-->

  <div class="contact" id="contact">
    <div class="container">

      <div class="row" id="contactsheader"><div class="col-xs-12"><h2>Contact</h2></div></div>

      <div class="row"><div class="col-xs-12 text-center"><p>find me on social media :</p></div></div>

      <div class="row"><div class="col-xs-12" id="contacticons">
        <a class="btn" href="https://github.com/Balldy" target="blank"><i class="fa fa-github-square fa-5x"></i></a>
        <a class="btn" href="https://es.linkedin.com/in/christopher-ball-548680a7" target="blank"><i class="fa fa-linkedin fa-5x"></i></a></a>
        <a class="btn" href="https://twitter.com/chrisballdy" target="blank"><i class="fa fa-twitter fa-5x"></i></a>
        <a class="btn" href="https://www.instagram.com/cball02/" target="blank"><i class="fa fa-instagram fa-5x"></i></a>
      </div>
    </div> <!-- icons -->

    <div class="row"><div class="col-xs-12 text-center"><p> or good old fashioned <a href="mailto:">e-mail</a>.</p></div>
    </div>

    <div class="row" id="footerprojects">
    <div class="col-xs-12"> <a href="#home"><span class="glyphicon glyphicon-chevron-up arrowwhite" aria-hidden="true" id="arrow"></span></a></div>
  </div> <!--footer row-->

  </div> <!--container-->
  </div> <!--contact-->



<script>


//scrollfeature



</script>




</body>
</html>

              
            
!

CSS

              
                #custom-bootstrap-menu.navbar-default .navbar-brand {
    color: rgba(119, 119, 119, 1);
}
#custom-bootstrap-menu.navbar-default {
    font-size: 14px;
    background-color: rgba(71, 71, 71, 1);
    border-bottom-width: 1px;
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a {
    color: rgba(119, 119, 119, 1);
    background-color: rgba(255, 255, 255, 0.02);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>li>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(248, 248, 248, 0.04);
}
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:hover,
#custom-bootstrap-menu.navbar-default .navbar-nav>.active>a:focus {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(231, 231, 231, 0.03);
}
#custom-bootstrap-menu.navbar-default .navbar-toggle {
    border-color: #ddd;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus {
    background-color: #ddd;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle .icon-bar {
    background-color: #888;
}
#custom-bootstrap-menu.navbar-default .navbar-toggle:hover .icon-bar,
#custom-bootstrap-menu.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #474747;
}

html{
       height: 100%;
       margin: 0px;
   }


body {
  height: 100%;
  margin: 0px;
  position:relative;
  font-family:Raleway,sans serif;
  color:#fdfdfd;
      }

.container {
  height:100%;
}

.jumbotron {
  position:relative;
  background-color:#a1e4f2;
  width:100%;
  height:100%;
  min-height:100%;
  margin: 0px;
  top:15%;


  }


#home {
  background-color:#a1e4f2;
  background-image: url(Uluwatu.jpg);
  height:100%;
}

#about {
  background-color:#FFAF78;
  position:relative;
  height:100%;
  min-height:100%;
  border:0px;
  margin:0px;
  font-size: 18px;

}

#projects {
  background-color:#FFA0A9 ;
  position:relative;
  min-height:100%;
  height:100%;
  border:0px;
  margin:0px;
}

#testimonials {
  background-color:#a3d285;
}

#contact {
  background-color:#fdd04b;
  position:relative;
  height:100%;
  min-height:100%;
  border:0px;
  margin:0px;
  font-size: 18px;
}

.navbar {
    margin-bottom: 0;
}

.thumbnail {
  background-color:#fdfdfd;
}

.thumbnail:hover {
  background-color:grey;
}

#aboutheader {
  padding-top: 5%;
  padding-bottom:5%;
}

#projectsheader {
  padding-top: 5%;
  padding-bottom:5%;
}

#contactsheader {
  padding-top: 5%;
  padding-bottom:5%;
}

#footerhome {
  position:absolute;
  bottom:2%;
  right:50%;
  left:50%;

  }

#footerabout {
    position:absolute;
    bottom:2%;
    right:50%;
    left:50%;

    }

#footerprojects {
      position:absolute;
      bottom:2%;
      right:50%;
      left:50%;

      }

#homeicons {
  position:relative;;
  padding:0px;
}

#arrow {
  font-size: 40px;
  text-align: center;
  padding:0px;

}

.arrowwhite {
  color:#fdfdfd;
}

.iconwhite {
  color:#fdfdfd;
}

#contacticons {
  text-align: center;
  margin:auto;
}

              
            
!

JS

              
                 /*
 Smooth Scrolling thanks to:
 https://css-tricks.com/snippets/jquery/smooth-scrolling/
 */ 

$(function() {
  $('a[href*="#"]:not([href="#"])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html, body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
        }
      }
    });
  });

              
            
!
999px

Console