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

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

              
                <link href="https://fonts.googleapis.com/css?family=Bungee+Hairline|Josefin+Sans|Poiret+One|Raleway|Marvel|Syncopate" rel="stylesheet">

<div class="background1">
  <ul>
    <li><a href="#contact">Contact</a></li>
    <li><a href="#portfolio">Portfolio</a></li>
    <li><a href="#thatsme">About Me</a></li>
    <li><span class="header">Jonathan <span class="logo">Wieben</span></span>
    </li>
  </ul>

  <h3 class="intro">
    <p class="firstln">HEY THERE!</p>
    <p class="secondln">IT'S ME, JONATHAN</b></p>
    <p class="thirdln">I AM AN ASPIRING</p>
    <p class="fourthln">WEBDEVELOPER</p>
    <p class="fifthln">THIS IS MY FIRST ATTEMPT TO BUILD A</p>
    <p class="sixthln">FANCY WEBSITE</p>
  </h3>

  <a id="thatsme" class="anchor">&nbsp</a>

  <div class="center">
    <a href="#thatsme">
      <button class="button">About Me</button>
    </a>
  </div>
</div>

<div class="background2">

  <div class="row">
    <div class="col-md-12">&nbsp</div>
  </div>
  <div class="row">
    <div class="col-md-12">&nbsp</div>
  </div>
  <div class="row">
    <div class="col-md-12">&nbsp</div>
  </div>

  <div class="col-md-5 center">
    <div>
      <i class="fa fa-book projects" aria-hidden="true">
        <p class="projectstxt">school</p>
        <p class="details">2016, I succesfully graduated from High School in Rendsburg.</p>
      </i>
    </div>
  </div>

  <div class="col-md-2 center">
    <div>
      <i class="fa fa-laptop projects" aria-hidden="true">
        <p class="projectstxt">remote</p>
        <p class="details">My long term goal is to work remotely as a software engineer.</p>
      </i>
    </div>
  </div>

  <div class="col-md-5 center">
    <div>
      <i class="fa fa-code projects" aria-hidden="true">
        <p class="projectstxt">coding</p>
        <p class="details">I just started teaching myself how to code. This page is my first project.</p>
      </i>
    </div>
  </div>

  <div class="row">
    <div class="col-md-12">&nbsp</div>
  </div>
  <div class="row">
    <div class="column pic"></div>
    <div class="column infobox">
      <i class="fa fa-angle-left" aria-hidden="true"></i>&nbspThat's me</div>
  </div>
</div>
<div class="space">&nbsp</div>
<a id="portfolio" class="anchor2">&nbsp</a>
<div class="center">
  <a href="#portfolio">
    <button class="buttonp">Portfolio</button>
  </a>
</div>
<p>&nbsp</p>
<div class="portfolio center">
  <p>Here are some of my projects I worked</p>
  <p>on at <a href="https://www.freecodecamp.com/" target="_blank">FreeCodeCamp</a>:</p>
</div>
<div class="col-md-3 center">
  <a href="https://codepen.io/JonathanWbn/full/ALALbw/" target="_blank">
    <div class="portfoliobox1">
      <div class="insidebox1">Random Quote Machine</div>
    </div>
  </a>
</div>
<div class="col-md-3 center">
  <a href="https://codepen.io/JonathanWbn/full/kkaXVG/" target="_blank">
    <div class="portfoliobox2">
      <div class="insidebox2">Local Weather Machine</div>
    </div>
  </a>
</div>
<div class="col-md-3 center">
  <a href="https://codepen.io/JonathanWbn/full/mAdYaX/" target="_blank">
    <div class="portfoliobox3">
      <div class="insidebox3">Wikipedia &nbspViewer</div>
    </div>
  </a>
</div>
<div class="col-md-3 center">
  <a href="https://codepen.io/JonathanWbn/full/EgRVZm/" target="_blank">
    <div class="portfoliobox4">
      <div class="thing">
        <div class="insidebox4">Current Project</div>
      </div>
    </div>
  </a>
</div>
<div class="space2">&nbsp</div>
<a id="contact" class="anchor3">&nbsp</a>
<div class="background3">
  <div class="center">
    <a href="#contact">
      <button class="button buttonc">Contact</button>
    </a>
  </div>
  <div>&nbsp</div>
  <div class="contact center">If you would like to get in touch with me, feel free to contact me.</div>
  <div>&nbsp</div>
  <div class="col-md-8 center">
    <div class="contact">Shoot me an e-mail!</div>
  </div>
  <div class "col-md-3 center">
    <div class="contact">Hit me up on social media!</div>
  </div>
  <div>&nbsp</div>
  <div class="col-md-8 center">
    <div class="name">&nbsp<i class="fa fa-user" aria-hidden="true"></i></div>
  </div>
  <div class="col-md-4 center">&nbsp</div>
  <div class="col-md-8 center">
    <div class="email">&nbsp<i class="fa fa-envelope-o" aria-hidden="true"></i></div>
  </div>
  <div class="col-md-1"><a href="https://www.facebook.com/jonathan.wieben" target="_blank"><i class="fa fa-facebook social" aria-hidden="true"></i></a></div>
  <div class="col-md-1"><a href="https://www.instagram.com/jonathan_wbn/" target="_blank"><i class="fa fa-instagram social" aria-hidden="true"></i></a></div>
  <div class="col-md-1"><a href="https://www.snapchat.com/add/mrjonathanan" target="_blank"><i class="fa fa-snapchat-ghost social" aria-hidden="true"></i></a></div>
  <div class="col-md-8 center">
    <div class="message">&nbsp<i class="fa fa-comment" aria-hidden="true"></i></div>
  </div>
  <div class="col-md-4 center">&nbsp</div>
              
            
!

CSS

              
                .background1 {
  background-color: white;
}
.background2 {
  background-color: #e6e6e6;
  height: 750px;
  position: relative;
  top: -22px;
}
.background3 {
  background-color: #e6e6e6;
  height:500px;
}
ul  {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow:  hidden;
  background-color: #323531;
  position: fixed;
  top: 0;
  width: 100%;
  height:  60px;
  z-index: 9999;
}
li{
  float: right;
  border-left: 1px solid #bbb;
  font-family: poiret one;
  font-size:  24px;
}
li:last-child{
  float: left;
  border-left: none;
  font-size: 45px;
  color: white;
  letter-spacing: -1px;
  font-weight: bold;
}
.logo {
  letter-spacing: -2px;
}
li a {
  display: block;
  color: white;
  text-align: center;
  padding: 13px 38px;
  text-decoration: none;
}
li a:hover {
  background-color: #f2f2f2;
  font-weight: ;
  color: #323531;
  text-decoration: none;
  font-size: 24px;
}
.header {
  position: fixed;
  left: 12px;
}
.intro {
  font-family: syncopate;
  text-align: center;
}
.firstln {
  color: #a6a6a6;
  font-size: 130px;
  letter-spacing: -10px;
  margin-top: 80px;
  position: relative;
  left: -3.5px;
  }
.secondln {
  color: #8c8c8c;
  font-size: 81px;
  letter-spacing: -6px;
  margin-top: -30px;
}
.thirdln {
  color: #595959;
  font-size: 84px;
  letter-spacing: -5px;
  margin-top: 40px;
}
.fourthln {
  color: #333333;
  font-size: 91px;
  letter-spacing: -9px;
  margin-top: -30px;
}
.fifthln {
  color: #lalala;
  font-size: 41px;
  letter-spacing: -4px;
  margin-top: 40px;
}
.sixthln {
  color: #000000;
  font-size: 95px;
  letter-spacing: -8px;
  margin-top: -22px;
}
.anchor {
  position: relative;
  top:  -33px;
}
.center {
  text-align: center;
  align: center;
}
.button {
  background-color: white;
  color: black;
  padding: 10px 15px;
  padding-bottom: 7px;
  text-decoration: none;
  font-size: 16px;
  font-family: syncopate;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  border: 2px solid black;
  margin-top: -20px;
  margin-down: -20px;
  position: relative;
  z-index: 1000;
}
.button:hover {
  background-color: black;
  color: #f2f2f2;
}
.projects {
  width: 200px;
  height: 310px;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  margin: 0; 
  font-size: 100px;
  color: grey;
}
.projects:hover {
  width: 200px;
  height: 310px;
  padding: 10px;
  border: 2px solid #bdbdbd;
  border-radius: 8px;
  margin: 0; 
  font-size: 100px;
  color: #616161;
  transition: all .6s;
}
.projects:hover .details {
  opacity: 1;
}
.projects:hover .projectstxt {
  color: grey;
  transition: all 0.2s;
}
.projectstxt {
  font-size: 50px;
  font-family:  josefin sans;
  color: #bdbdbd;
}
.details {
  font-size:30px;
  color: #616161;
  opacity: 0;
  transition: all 0.5s;
  font-family:  marvel;
  font-size: 25px;
}
.pic {
  background-image: url("http://img5.fotos-hochladen.net/uploads/img0490xla9zg765e.jpg");
  border-radius: 200px;
  background-size: 300px 300px;
  height: 300px;
  text-align: center;
  transition-duration: 1s;
  transition-timing-function: linear;
  width: 300px;
  border:2px solid grey;
}
.infobox {
  height:300px;
  width:550px;
  border: 2px solid transparent;
  border-radius: 100px;
  font-family: bungee hairline;
  font-size: 75px;
  text-align: center;
  position: relative;
  left: 3px;
  top: 95px;
  background-color: transparent;
}
.fa-angle-left {
  font-size: 84px;
}
.row {
  display: table;
  margin: auto;
}
.column {
  display: table-cell;
}
.story {
  display: block;
  width: 550px;
  position: relative;
  left: 150px;
  top: 190px;
  text-align: center;
  font-size: 10px;
}
.centered {
  position: relative;
  top:  93px;
}
.space {
  display: block;
  background-color: transparent;
  height: 30px;
}
.space2 {
  display: block;
  background-color: transparent;
  height: 260px;
}
.portfolio {
  font-family: Josefin sans;
  font-size: 30px;
  position: relative;
  top: -60px;
}
.portfoliobox1 {
  height: 249px;
  width: 250px;
  border: 2px solid grey;
  margin: 0 auto;
  color: transparent;
  border-radius: 8px;
  font-family: raleway;
  font-size: 20px;
  transition-duration: .8s;
  text-align: center;
  background-image: url("http://www.bilder-upload.eu/upload/061a87-1477829224.png");
  background-size: 100%;
  background-color: grey;
}
.portfoliobox2 {
  height: 249px;
  width: 250px;
  border: 2px solid grey;
  margin: 0 auto;
  color: transparent;
  border-radius: 8px;
  font-family: raleway;
  font-size: 40px;
  transition-duration: .8s;
  background-image: url("http://www.bilder-upload.eu/upload/dad4e9-1477829611.png");
  background-size: 100%;
}
.portfoliobox3 {
  height: 249px;
  width: 250px;
  border: 2px solid grey;
  margin: 0 auto;
  color: transparent;
  border-radius: 8px;
  font-family: raleway;
  font-size: 40px;
  transition-duration: .8s;
  background-image: url("http://www.bilder-upload.eu/upload/40dac3-1477829707.png");
  background-size: 100%;
}
.portfoliobox4 {
  height: 249px;
  width: 250px;
  border: 2px solid grey;
  margin: 0 auto;
  color: transparent;
  border-radius: 8px;
  font-family: raleway;
  font-size: 40px;
  transition-duration: .8s;
  background-image: url("http://www.bilder-upload.eu/upload/ce82c2-1477829767.png");
  background-size: 100%;
}
.portfoliobox:hover {
  border: 2px solid #2E2E2E;
  color: white;
  background-color: #2E2E2E;
}
.portfoliobox span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}
.anchor2 {
  position: relative;
  top: -111px;
}
.anchor3 {
  position: relative;
  top: -40px;
}
.contact {
  font-family: josefin sans;
  font-size: 30px;
}
.buttonc {
  position: relative;
  top: -9px;
}
.name {
  height: 40px;
  width: 450px;
  border: 2px solid grey;
  font-size: 25px;
  display: inline-block;
  margin: 10px;
  text-align: left;
  transition-duration: .2s;
}
.email {
  height: 40px;
  width: 450px;
  border: 2px solid grey;
  font-size: 25px;
  display: inline-block;
  margin: 10px;
  text-align: left;
  transition-duration: .2s;
}
.message {
  height: 100px;
  width: 450px;
  border: 2px solid grey;
  font-size: 25px;
  display: inline-block;
  margin: 10px;
  text-align: left;
  transition-duration: .2s;
}
.message:hover {
  border: 2px solid black;
  color: black;
}
.email:hover {
  border: 2px solid black;
  color: black;
}
.name:hover {
  border: 2px solid black;
  color: black;
}
.social {
  font-size: 50px;
  margin-left: 30px;
  text-align: right;
  transition-duration:.5s
}
.social:hover {
  color: #424242;
}
a {
  color: black;
}
.insidebox1 {
  transition-duration: .4s;
  font-size: 30px;
}
.insidebox2 {
  transition-duration: .4s;
  font-size: 30px;
}
.insidebox3 {
  transition-duration: .4s;
  font-size: 30px;
}
.insidebox4 {
  transition-duration: .4s;
  font-size: 30px;
  position: relative;
  top: 92px;
}
.portfoliobox1:hover .insidebox1 {
  width: 100%;
  height: 86px;
  color: white;
  background-color: black;
  border-radius: 6px 6px 0px 0px;
  opacity: .8;
}
.portfoliobox2:hover .insidebox2 {
  width: 100%;
  height: 86px;
  color: white;
  background-color: black;
  border-radius: 6px 6px 0px 0px;
  opacity: .8;
}
.portfoliobox3:hover .insidebox3 {
  width: 100%;
  height: 86px;
  color: white;
  background-color: black;
  border-radius: 6px 6px 0px 0px;
  opacity: .8;
}
.portfoliobox4:hover .insidebox4 {
  width: 100%;
  height: 43px;
  color: black;
  border-radius: 6px 6px 0px 0px;
}
.thing {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background-color: white;
  opacity: .4;
}
.buttonp {
  background-color: white;
  color: black;
  padding: 10px 15px;
  padding-bottom: 7px;
  text-decoration: none;
  font-size: 16px;
  font-family: syncopate;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  border: 2px solid black;
  top: -92px;
  position: relative;
  z-index: 1000;
}
.buttonp:hover {
  background-color: black;
  color: #f2f2f2;
}
a{
  color: #333;
}
a:hover {
  color: black;
  text-decoration: none;
}
              
            
!

JS

              
                $(document).ready(function(){
	$('a[href^="#"]').on('click',function (e) {
	    e.preventDefault();

	    var target = this.hash;
	    var $target = $(target);

	    $('html, body').stop().animate({
	        'scrollTop': $target.offset().top
	    }, 900, 'swing', function () {
	        window.location.hash = target;
	    });
	});
  $(".centered").onClick
});
              
            
!
999px

Console