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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <!--
Ugly and overdone, I know. And doesn't work like it should, I know. :(
-->
<div class="container">
<div class="row" id="title">
<div class="col-md-2">
<h1 id="hi">Hi!</h1>
  </div>
<div class="col-md-2">
<h1 id="im"> I'm </h1>
  </div>
<div class="col-md-4">
<h1 id="mahmood">Panda</h1>
  </div>
<div class="col-md-4">
<h1 id="saifi">Happy!</h1>
  </div>
  </div>
</div>

<hr>

<div id="container1" class="container">
  <div class="row">
    <div class="col-md-4">
      <img id="abtimg" src="https://coderdojo.com/wp-content/uploads/2015/09/Coding.jpg" alt="image">
    </div>
    <div class="col-md-8">
      <h2 id="About"><em><strong>About</strong></em></h2>
      <p><strong>Web-design enthusiast and future front-end developer. Currently learning from <span style="color:lightgreen">freeCodeCamp!</span></strong></p>
    </div>
  </div>
</div>

<h2 id="Portfolio"><strong>Portfolio</strong></h2>

<div class="container">
  <div class="row">
    <div class="col-md-6">
      <img class="prtimg" src="http://kemri-wellcome.org/wp-content/themes/kemri/img/img_placeholder.png" alt="placeholder">
      <img class="prtimg" src="http://kemri-wellcome.org/wp-content/themes/kemri/img/img_placeholder.png" alt="placeholder">
    </div>
    <div class="col-md-6">
      <img class="prtimg" src="http://kemri-wellcome.org/wp-content/themes/kemri/img/img_placeholder.png" alt="placeholder">
      <img class="prtimg" src="http://kemri-wellcome.org/wp-content/themes/kemri/img/img_placeholder.png" alt="placeholder">
    </div>
  </div>
</div>

<div id="anibor"></div>

<h2 style="font-size:54px" id="contact"><strong><em> Contact </strong></em></h2>

<div class="container" style="margin-bottom:20px">
  <div class="row">
    <div class="col-md-6">
      <input id="input1" type="text" placeholder="Name" size="45" >
      </br>
      <input id="input2" type="text" required placeholder="Email" size="45" >
      </br>
      <textarea id="input3" cols="47" placeholder="Message" rows="5" maxlength="500" ></textarea>
      </br>
<button id="send" class="btn"><strong>Send</strong></button>
    </div>
    <div class="col-md-6">
      <p style="font-family:Josefin Slab, serif">
Hi guys! Over here you can feel free to message me if there's anything you'd like to share with me. Don't be shy, I'm  a very friendly and polite person (or at least that's how I like to think of myself) Or you can also check out my other social media accounts below!</br><strong>*NOTE: Don't actually try to send me any message, this is all just fake. Cheers!</p></strong>
    </div>
  </div>
</div>

<hr>

<div class="container">
<div id="smedia" class="row">
<div class="col-md-3">
  <a href="#" target="_blank"><img id="smedia1" src="https://images.vexels.com/media/users/3/137283/isolated/preview/8ca486faebd822ddf4baf00321b16df1-google-icon-logo-by-vexels.png" alt="Google+" ></a>
  </div>
<div class="col-md-3">
  <a href="#" target="_blank"><img id="smedia2" src="http://cdn.onlinewebfonts.com/svg/img_336066.png" alt="Codepen"></a>
  </div>
<div class="col-md-3">
  <a href="#" target="_blank"><img id="smedia3" src="http://www.freepnglogos.com/uploads/linkedin-blue-style-logo-png-0.png"alt="LinkedIn"></a>
  </div>
<div class="col-md-3">
  <a href="#" target="_blank"><img id="smedia4" src="https://image.flaticon.com/icons/png/512/25/25231.png" alt="GitHub"></a>
  </div>
  </div>
</div>
<hr>
<h6 id="end">Made by <a href="https://codepen.io/quantomistro/">quantomistro</a>,  2017</h6>
<ul>
  <li><a href="#About" class="btn"><i class="fa fa-info-circle" aria-hidden="true"></i>About</a></li>
  <li><a href="#Portfolio" class="btn"><i class="fa fa-code" aria-hidden="true"></i>Portfolio</a></li>
  <li><a href="#contact" class="btn"><i class="fa fa-envelope" aria-hidden="true"></i>Contact</a></li>
</ul>
              
            
!

CSS

              
                body {
  margin: 0;
  background-color: rgb(70, 70, 70);
}

h1 {
  font-family: "Amaranth", sans-serif;
  font-size: 68px;
  color: rgb(224, 170, 255);
  margin: 20px 0px 0px 0px;
  text-align: center;
}

h1:hover {
  animation-name: title;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes title {
  from {
  }
  to {
    font-size: 80px;
    color: white;
    transform: rotate(10deg);
  }
}

#container1 {
  margin-top: 40px;
}
#abtimg {
  height: 200px;
  width: 200px;
  border-radius: 50%;
}
h2 {
  font-size: 32px;
  font-family: "Josefin Slab";
  color: white;
}

p {
  color: white;
  border-style: dashed;
  border-width: 0px 5px 5px 0px;
  border-color: rgb(142, 110, 237);
  border-radius: 0px 0px 30px 0px;
  padding-bottom: 40px;
  padding-right: 10px;
  margin-top: 20px;
  font-size: 20px;
  font-family: "Josefin Slab";
  animation-name: clr;
  animation-iteration-count: infinite;
  animation-duration: 3s;
}
@keyframes clr {
  0% {
    border-color: rgb(142, 110, 237);
  }
  50% {
    border-color: white;
  }
  100% {
    border-color: rgb(142, 110, 237);
  }
}

#Portfolio {
  font-size: 60px;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.prtimg {
  height: 200px;
  width: 300px;
  display: block;
  margin: auto;
  margin-bottom: 40px;
}

#anibor {
  margin: 40px 110px 30px 110px;
  border-width: 5px 0 0 0;
  border-style: dashed;
  border-color: rgb(142, 110, 237);
  /*animation-name: anibor;
  animation-duration: 10s;
  animation-iteration-count: infinite;*/
}

/*@keyframes anibor {
  0% {
    border-color: rgb(142, 110, 237);
  }
  50% {
    border-color: white;
    margin: 40px 160px 30px 160px;
  }
  100% {
    border-color: rgb(142, 110, 237);
  }
}*/
#contact {
  margin: 0px 0px 30px 120px;
}
#input1,
#input2 {
  border-style: solid;
  border-width: 0px;
  border-radius: 10px;
  background-color: rgb(221, 184, 242);
  padding: 10px 10px 10px 10px;
  margin-bottom: 20px;
}

#input3 {
  border-style: solid;
  border-width: 0px;
  border-radius: 10px;
  background-color: rgb(221, 184, 242);
  padding: 10px 10px 10px 10px;
  margin-bottom: 20px;
}

#smedia2,
#smedia4 {
  height: 67px;
  width: 70px;
  margin-bottom: 30px;
}

#smedia1,
#smedia3 {
  height: 70px;
  width: 70px;
  margin-bottom: 30px;
}

#smedia1:hover,
#smedia2:hover,
#smedia3:hover,
#smedia4:hover {
  animation-name: zoom2;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}
#smedia {
  margin-bottom: 35px;
}

@keyframes zoom2 {
  from {
  }
  to {
    height: 100px;
    width: 100px;
    transform: rotate(360deg);
  }
}

#end {
  font-family: sans-serif;
  text-align: center;
  margin-bottom: 30px;
  font-size: 11px;
  color: lightgrey;
}

ul {
  list-style-type: none;
  float: right;
  bottom: 50%;
  right: -85px;
  position: fixed;
}
a[class="btn"] {
  margin-top: 20px;
  padding: 10px 10px 10px 17px;
  border-color: white;
  border-style: solid;
  border-width: 3px;
  border-radius: 10px;
  background: rgbo(0, 0, 0, 1);
  display: block;
  color: white;
  font-size: 20px;
  font-family: "Amaranth", sans-serif;
}
a[class="btn"]:hover
{
  background-color: white;
  color: rgb(142,110,237);
  margin-right: 95px;
}
#send {
  border-style: solid;
  border-width:3px;
  border-color: white;
  color: white;
  background-color: rgb(70,70,70);
}
#send:hover {
  background-color: white;
  color: rgb(142,110,237);
}
i {
  float: left;
}
              
            
!

JS

              
                document.getElementById("send").addEventListener("click", function() {
  alert("Sorry, this page isn't active. It's just a project for freeCodeCamp.   =)");
});
var a = document.getElementById("smedia").children;

for (var i=0; i<a.length;i++) {
  a[i].addEventListener("click", function() {
    alert("Sorry, this page isn't active. It's just a project for freeCodeCamp. These buttons will open this same page in another tab.");
  });
}
              
            
!
999px

Console