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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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=Didact+Gothic" rel="stylesheet">
  <body style = "font-family: 'Didact Gothic',sans-serif"> 
  
    <!-- Navi Bar -->
    
 <body> 
    <div class = "navborder" id="navbar">
  <a href="#about">About</a>
  <a href="#portfolio">Portfolio</a>
  <a href="#contact">Contact Me</a>
</div>
 
  <!--End Navi Bar-->
    <br>
    <br>
    
 <h1 id = "about" class = "text-align: center; text-nowrap title"; style "font-family: 'Didact Gothic', 'sans-serif'"> Caitlin Alexis </h1> 
     
 <h2 class = "text-center"; style =" color: white; font-size: 30px; font-family: 'Didact Gothic', 'sans-serif'"> Front End Developer | UI/UX Design | Graphic Designer </h2>
    
    <h3> My name is Caitlin and I am an aspiring front-end developer. I want to make UIs big and small look gorgeous. I am also a full-time graphic designer. I guess you could say making things look good is just what I do. </h3>
    
     </div>
    <div align = "center">
    <h2 id = "portfolio" style = "color: white; font-size: 45px;"> Portfolio </h2>
      <h4> check out some of my work </h4>
      <img class = "pimages" src= "http://i68.tinypic.com/nxkob8.png"> 
      
      <img class = "pimages" src="http://i68.tinypic.com/2en3vht.png">
      
    <h2 id = "contact" style = "color: white; font-size: 45px;"> Contact Me </h2>    
    </div>  
<br>
    <!-- FORM + Contact info -->
<div class="container-fluid"> 
  <div class = "row">
<form class = "form col-sm">
  <input class = "formborder" placeholder = "name" type = "text" required>
  <br>
  <br>
  <input class = "formborder" type = "text" placeholder = "email" required>
  <br>
  <br>
  <input class = "formborder" type = "text" placeholder ="phone" required>
  <br>
  <br>
  <input class = "formmessage"type = "text" placeholder = "message" required>
  <br>
  <br>
  <button type = "submit" class ="pillborder button"><a href="#">Submit </a></button>
</form> 
<h4 class = "col-sm-8"> Send me anything on your mind (projects, thoughts, questions) and I will try to get back to you as quick as possible. </h4>
  
  </div>
</div>
<!-- Social Media Links + Icons -->
<br>
<div class = "push">
<a href = "https://www.facebook.com/pixlpdesigns/">
<img class = "smedia" src= "http://icons.iconarchive.com/icons/icons8/ios7/256/Logos-Facebook-icon.png">
</a>
<a href = "https://www.instagram.com/pixlpdesigns/">
<img class = "smedia" src = "http://icons.iconarchive.com/icons/icons8/ios7/256/Logos-Instagram-icon.png">
</a>
    </div>
  



</body>
              
            
!

CSS

              
                #navbar {
  overflow: hidden;
  background-color: #f1f1f1;
  width: 250px;  
  float: left;
  display: block;

}

#navbar a {
  float: left;
  display: block;
  text-color: #f1f1f1;
  text-align: center;
  padding: 15px 15px 15px 15px;
  text-decoration: none;
}

.navborder {
  border-style: solid;
  border-color: #000;
  border-width: 2px;
  border-radius: 2px;
  padding: 2px 2px 2px 2px
}
 
#navbar a:hover{
  -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
  background: #000;
}

.content {
  padding: 20px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  float: right;
   
}

.sticky + .content {
  padding-top: 60px;
  position: fixed;
  top: 0;
}

.title{ 
    text-align: center;
    padding: 10px 10px 0px 10px; 
  }

form {
  padding: 20px 0px 0px 30px;
  background:
}

.pillborder {
  border-color: #000;
  border-width: 2px;
  border-style: solid; 
  border-radius: 25px; 
  background: #f1f1f1; 
  padding: 5px 20px 5px 20px
}

.formborder {
  padding: 10px 10px 10px 15px;
  border-color: #000;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  
}

.formmessage {
  padding: 10px 10px 100px 15px;
  border-color: #000;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
}

body {
  background-color: #869394;
  padding: 40px;
  border-style: solid;
  border-width: 5px;
  border-color: #f1f1f1;
  margin: 25px;
  margin-top: 30px;
  
}



.button {
  -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
}

.button:hover {
  background: #000;
  text-color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: white;
}

a {
  color: #000
}

h1 {
  font-size: 80px;
  font-color: #000
}

.smedia {
  height: 50px;
  width: 50px;
  margin: 0px 5px;
  
}

.push {
  padding: 0px 15px;
}

.scrollspy-example {
    position: relative;
    height: 200px;
    margin-top: .5rem;
    overflow: auto;
}

#About {}
#Portfolio {}
#contact {}

::-webkit-scrollbar {
    width: 10px;
}


::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

::-webkit-scrollbar-thumb {
    background: #888; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.pimages {
  height: 400px;
  width: 60%;
  border-style: solid;
  border-width: 5px;
  border-color: #000;
  border-radius: 10px;
  margin: 15px;
  
}
              
            
!

JS

              
                
window.onscroll = function() {myFunction()};


var navbar = document.getElementById("navbar");

var sticky = navbar.offsetTop;

function myFunction() {
  if (window.pageYOffset >= sticky) {
    navbar.classList.add("sticky")
  } else {
    navbar.classList.remove("sticky");
  }
}


              
            
!
999px

Console