123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <body>
<!---Header Section--->

<div id="header" class="container-fluid">
  
  <!---Nav Bar--->
  
  <div class="container-fluid fixed">
    <div class="row">
      <div class="col-xs-12 col-md-2 col-md-offset-6">
        <a href="#" class="scroll-link" data-id="about">About</a>
      </div>
      <div class="col-xs-12 col-md-2">
        <a href="#" class="scroll-link" data-id="portfolio">Portfolio</a>
       </div>
      <div class="col-xs-12 col-md-2">
        <a href="#" class="scroll-link" data-id="contact">Contact</a>
      </div>
    </div>
    
  </div>
  <p id="name">
    Dylan Murphy
  </p>
</div>

<!---About Section--->
<div id="about" class="page-section container-fluid">
  <div class="row">
  
    <div class="about-col col-xs-12 col-md-4">
        <img   id="about-image" class="img-rounded" src="https://scontent-sjc2-1.xx.fbcdn.net/v/t1.0-9/15109591_10155526733637796_8639634133032197740_n.jpg?oh=2801ef30c5adbbff8a55de3bee4996f0&oe=58B444DA">
    </div>
  
    <div class="about-col col-xs-12 col-md-4">
      <p id="about-text">
       I am an aspiring web developer in Austin, TX.  I have only been learning code for a few months utilizing free online resources such as Free Code Camp.  I currently work in Tech Support, but my goal is to move into coding as a career.
     </p>
    </div>
  
    <div class="about-col col-xs-12 col-md-4 devicon">
      <div class="row">
        <div class="col-xs-6">
          <i class="devicon-html5-plain-wordmark"></i>
        </div>
        <div class="col-xs-6">
          <i class="devicon-css3-plain-wordmark"></i>
        </div>
        <div class="col-xs-6">
          <i class="devicon-bootstrap-plain-wordmark"></i>
        </div>
        <div class="col-xs-6">
          <i class="devicon-jquery-plain-wordmark"></i>
        </div>
      </div>
    </div>
  </div>
</div>
<!--Portfolio Section-->
<div id="portfolio" class="page-section container-fluid">
   <div class="row">
     <div class="col-md-3 portfolio-link">
       <a href=#><img src="http://placehold.it/300x300"></a>
     </div>
  
     <div class="col-md-3 portfolio-link">
       <a href=#><img src="http://placehold.it/300x300"></a>
     </div>
  
     <div class="col-md-3 portfolio-link">
       <a href=#><img src="http://placehold.it/300x300"></a>
     </div>
  
     <div class="col-md-3 portfolio-link">
       <a href=#><img src="http://placehold.it/300x300"></a>
     </div>
  </div>
</div>

<!--Contact Section-->
<div id="contact" class="page-section container-fluid">
  
  <div class="row">
  
   <div class="contact-icon col-xs-12 col-md-1 col-md-offset-4">
     <a href="mailto:xdylanmurphyx@gmail.com"><i class="fa fa-envelope fa-4x"></i></a>
   </div>
  
   <div class="contact-icon col-xs-12 col-md-1">
     <a href="https://www.linkedin.com/in/dylanpatrickmurphy"><i class="fa fa-linkedin-square fa-4x"></i></a>
   </div>
  
   <div class="contact-icon col-xs-12 col-md-1">
     <a href="https://github.com/dmurphy5"><i class="fa fa-github fa-4x"></i></a>
   </div>
  
   <div class="contact-icon col-xs-12 col-md-1">
     <a href="https://www.freecodecamp.com/dmurphy5"><i class="fa fa-free-code-camp fa-4x"></i></a>
   </div> 
  
  </div>
  
</div>
</body>  

            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Raleway');

* {
  font-family: 'Raleway', sans-serif;
}
body {
  background-image: url("http://sgarciarill.zenfolio.com/img/s4/v65/p216707623-5.jpg?sn=2YH");
  background-size: cover;
  background-repeat: no-repea
}

#header {
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  position: relative;
}

.fixed {
  background-color: ;
  height: 60px;
  position: fixed;
  left: 0;
  right: 0;
  color: white;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 4px;
  z-index: 1;
  -webkit-transition: background-color 700ms linear;
  -moz-transition: background-color 700ms linear;
  -o-transition: background-color 700ms linear;
  -ms-transition: background-color 700ms linear;
  transition: background-color 700ms linear;
}

.fixed.scrolled {
  background-color: rgba(0, 0, 0, 0.5);
}

a {
  color: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  -o-transition:1s;
  -ms-transition:1s;
  -moz-transition:1s;
  -webkit-transition:1s;
  transition:1s;
}

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

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

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

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


#name{
  color: #FFFFFF;
  position: absolute;
  bottom: 0;
  left: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 40px;
}

#about {
  background-color: rgba(0,0,0,0.5);
  height: 400px;
  color: white;
}

#about-image {
  max-height: 300px;
  vertical-align: center;
  margin-top: 50px;
  margin-left: 50px;
}

#about-text {
  margin-top: 110px;
  font-size: 1.2em;
}

.devicon {
  font-size: 150px;
}


#portfolio {
  height: 350px;
}

.portfolio-link {
  padding-left: 90px;

}

#contact {
  background-color: black;
  height: 100px;
  color: #bdbdbd;
  font-size: 25px;
  positive: relative;
}

.contact-icon {
  height: 100px;
  color: #FFFFFF;
}
            
          
!
            
              $(document).ready(function() {
	// navigation click actions	
	$('.scroll-link').on('click', function(event){
		event.preventDefault();
		var sectionID = $(this).attr("data-id");
		scrollToID('#' + sectionID, 750);
	});
});

// scroll function
function scrollToID(id, speed){
	var offSet = 50;
	var targetOffset = $(id).offset().top - offSet;
	var mainNav = $('#main-nav');
	$('html,body').animate({scrollTop:targetOffset}, speed);
	if (mainNav.hasClass("open")) {
		mainNav.css("height", "1px").removeClass("in").addClass("collapse");
		mainNav.removeClass("open");
	}
}
if (typeof console === "undefined") {
    console = {
        log: function() { }
    };
}


$(window).scroll(function () {
  if ($(document).scrollTop() > 100) {
    $(".fixed").addClass("scrolled");
  } else {
     $(".fixed").removeClass("scrolled");
  }
 });
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console