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></head>


<body>
  <!-- Navbar -->
  <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
      <!-- Brand and toggle get grouped for better mobile display -->
      <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="#">Alexander Fletcher</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-right">
          <li><a href="#home">Home</a></li>
          <li><a href="#portfolio">Portfolio</a></li>
          <li><a href=#about>About</a>
            <li><a href=#contact>Contact</a>


        </ul>
        </li>
        </ul>
      </div>
      <!-- /.navbar-collapse -->
    </div>
    <!-- /.container-fluid -->
  </nav>
  <!-- Home-->
  <div id="home" class="mainscreen">
    <div class="text-center ">
      <h1 id="main" class="text-primary">Alexander Fletcher</h1>
      <p id="mainp">Software Engineering Student</p>
    </div>
    <div class="text-center"><a target="_blank" href="https://github.com/DurableMicron" class=" btn btn-default"><i class="fa fa-github"></i>Github</a>
      <a target="_blank" href="https://www.freecodecamp.com/durablemicron" class=" btn btn-default"><i class="fa fa-fire"></i>FreeCodeCamp</a>
    </div>
  </div>
  </div>
  <div id="portfolio" class="container-fluid mainscreen">
    <div class="text-center">
      <h2 id="portfolio-title">Coming Soon&#8482;</h2>
      <div class="placeholder row">
        <div class="col-sm-4">
          <figure>
            <a href="#">
              <img src="https://pixabay.com/static/uploads/photo/2012/04/14/14/48/sign-34184_960_720.png" alt="placeholder" width="150" height="200">
            </a>
            <p>upcoming</p>

          </figure>

        </div>
        <div class="col-sm-4">
          <figure>
            <a href="#">
              <img src="https://pixabay.com/static/uploads/photo/2012/04/14/14/48/sign-34184_960_720.png" alt="placeholder" width="150" height="200">
            </a>
            <p>upcoming</p>

          </figure>

        </div>
        <div class="col-sm-4">
          <figure>
            <a href="#">
              <img src="https://pixabay.com/static/uploads/photo/2012/04/14/14/48/sign-34184_960_720.png" alt="placeholder" width="150" height="200">
            </a>
            <p>upcoming</p>

          </figure>

        </div>
      </div>

    </div>
  </div>
  <div id="about" class="mainscreen">
    <div id="abouttext">
      <img id="avatar" src="https://avatars2.githubusercontent.com/u/16837325?v=3&s=460" alt="github avatar" class=" circle  img-responsive">
      <h1 id="about-title">About</h1>
      <p>I am a student at the University of Western Australia where I am currently studying software engineering. As well as being a self taught web developer I also partake in some environmental education programs.</p>
    </div>


  </div>
  <div id="contact1">
  </div>
  <div id="contact" class="mainscreen">
    <div id="contacttext" class="text-center">
      <h1>Contact me:)</h1>
      <h2>fletchy@hotmail.com.au</h2>

      <div class="text-center"><a target="_blank" href="https://github.com/DurableMicron" class=" btn btn-default"><i class="fa fa-github"></i>Github</a>
        <a target="_blank" href="https://www.freecodecamp.com/durablemicron" class=" btn btn-default"><i class="fa fa-fire"></i>FreeCodeCamp</a>
      </div>

    </div>
  </div>

  <footer class="footer">

    <p>Please note that none of the images are my own and as such this website is for education purposes only and not currently intended for professional use.
    </p>

  </footer>


</body>


</html>
              
            
!

CSS

              
                .body {
  font-family: "Courier New", Courier, monospace;
}

.mainscreen {
  min-height: 600px;
  overflow: auto;
  background: fixed;
  background-size: cover;
}

.mybtn {
  margin: 0px auto;
}

.circle {
  width: 100px;
  border-radius: 50%;
}

#main {
  color: white;
  align: center;
  padding-top: 300px;
}

#mainp {
  color: white;
}

#home {
  background-image: url("http://manualwall.com/wp-content/uploads/2016/01/720p-cool-waterfall-nature-free-background-images.jpg");
}

#portfolio {
  background-image: url("http://www.psdgraphics.com/file/grunge-danger.jpg");
}

#portfolio-title {
  margin-top: 200px;
  color: white;
}

#about {
  background-image: url("http://wallpapercave.com/wp/u8PEixm.jpg")
}

#abouttext {
  color: white;
  margin-left: 100px;
  margin top: 100px;
}

#avatar {
  float: right;
  margin-right: 100px;
}

#contact {
  background-image: url("http://aures-emballages.com/global/uploads/backgrounds/contacts.jpg");
}

.placeholder {
  color: white;
}

footer {
  /* negative value of footer height */
  height: 150px;
  clear: both;
  padding: 50px;
}
              
            
!

JS

              
                
              
            
!
999px

Console