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

              
                <header>
  <nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <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="#">Hamza Saleemi</a>
      </div>
      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav navbar-right">
          <li><a class="smooth-scroll" href="#About">About</a></li>
          <li><a class="smooth-scroll" href="#Languages">Languages</a></li>
          <li><a class="smooth-scroll" href="#Portfolio">Portfolio</a></li>
          <li><a class="smooth-scroll" href="#contact">Contact</a></li>

      </div>

    </div>
  </nav>
</header>
<main class="container-fluid">
  <section id="About" class="row" style="height: 550px">
    <br> <br>
    <h2 style="font-size:40px;">About Me.</h2>
    <div class="intro">

      <p style="font-size:30px">Web designer. Developer. Entrepreneur.</p>
      <hr>
      <p style="font-size:23px">I'm based in Canada with a passion for technology and a strong background in administrative roles which I believe allows me to come up with innovative technology based solutions to real world problems.</p>
    </div>
  </section>
  <section id="Languages" class="row" style="height: 350px">
    <h2 style="font-size:40px;">Languages I know</h2>
    <div class="container-fluid">
      <div class="row" style="father:position:relative; child: position:absolute;">
        <div class="col-md-4 col-xs-4">
          <img class="img-responsive" style="margin: auto;Column-width:auto;vertical-align:middle;height:100px;" src="https://www.html5rocks.com/static/demos/svgmobile_fundamentals/images/html5-1024x768.jpg" alt="HTML5 logo">
        </div>
        <div class="col-md-4 col-xs-4">
          <img class="img-responsive" style="margin: auto;Column-width:auto;vertical-align:middle;height:100px;" src="https://s-media-cache-ak0.pinimg.com/originals/d5/b9/3b/d5b93bad3c10cc5b92b47e4678598548.jpg" alt="CSS3 logo">
        </div>
        <div class="col-md-4 col-xs-4">
          <img class="img-responsive" style="margin: auto;Column-width:auto;vertical-align:middle;height:100px;" src="https://camo.githubusercontent.com/02ed3f6695f288aedec24c2a329c667281efef5f/687474703a2f2f707265636973696f6e2d736f6674776172652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031342f30342f6a5175726572792e676966"
            alt="JQuery logo">
        </div>
      </div>
    </div>
  </section>
  <section id="Portfolio" class="row" style="height: 550px">
    <h2 style="font-size:40px;">Portfolio</h2>
  </section>
  <section id="contact" class="row" style="height: 550px">
    <h2 style="font-size:40px;">Contact me.</h2>
    <p style="margin-top:50px;">You can reach me at.</p>
    <div style=" margin-right: 40%; margin-top: 30px; padding: 35px;">
      <ul style=" list-style-type: none;">
        <li style="text-align: right;"><a href="mailto:hamzasaleemi21@gmail.com" target="_blank" title="Gmail"><i class="fa fa-envelope"style="color:white;"></i></a></li>
        <li style="text-align: right;"><a href="https://www.linkedin.com/in/hamza-saleemi-5184b9113/" target="_blank" title="LinkedIn"><i class="fa fa-linkedin-square"style="color:white;"></i></a></li>
        <li style="text-align: right;"><a href="https://github.com/Azmah21" target="_blank" title="Github"><i class="fa fa-github"style="color:white;"></i></a></li>
        <li style="text-align: right;"><a href="https://www.freecodecamp.com/azmah21" target="_blank" title="Free code camp"><i class="fa fa-free-code-camp" style="color:white;"></i></a></li>
    </div>
  </section>

  </section>
</main>
<footer class="text-center">
  <hr>
  <p style="color: black;">Written and coded by <a href="https://www.linkedin.com/in/hamza-saleemi-5184b9113/" target="_blank" title="https://www.linkedin.com/in/hamza-saleemi-5184b9113/">Hamza Saleemi</a>.</p>
</footer>
              
            
!

CSS

              
                body {
  position: relative;
  background-color: white;
 color: white;
  margin: 0;
}
section {
  border-bottom: 1px solid #ddd;
  font-size: 24px;
  min-height: 50vh;
  padding-bottom: 50px;
  padding-top: 50px;
  margin-top: -50px;
  text-align: center;
}

section h2 {
  background-color: rgba(0, 0, 0, .5);
  display: inline-block;
  padding: .5em 1em;
  border-radius: 5px;
}

.intro {
  color: #eee;
  font-size: 16px;
  margin-bottom: 2em;
  margin-top: 2em;
}

.intro a {
  color: #eee;
}

/*
#About {
  background-image: url(http://res.cloudinary.com/azmah21/image/upload/v1496955015/andyone-26591_uhh19x.jpg);
  background-size: cover;
  background-position: center center;
}
*/
#Portfolio {
  background-image: url(https://unsplash.it/1280/1024?random&sig=1);
  background-size: cover;
  background-position: center center;
}
#contact {
  background-image: url(http://i.imgur.com/ZkO1Phk.jpg);
  background-size: cover;
  background-position: center center;
}
#About {
  background-image: url(http://res.cloudinary.com/azmah21/image/upload/v1496955015/andyone-26591_uhh19x.jpg);
  background-size: cover;
  background-position: center center;
}

#Languages {
  background-image: url();
  background-size: cover;
  background-position: center center;
}

              
            
!

JS

              
                $(document).ready(function() {
  
  // scroll spy code
  $('body').attr('data-spy', 'scroll').scrollspy({target: '.navbar'});

  // smooth scroll code
  $('.smooth-scroll').on('click', function() {
    $('html, body').animate({scrollTop: $($(this).attr('href')).offset().top}, 1000);
  });

});
              
            
!
999px

Console