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.

            
              
<head>
  <title>Laura Mortier|Graphic Designer</title>
  <link rel="stylesheet" href="style.css">
</head>
  
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="javascript/smoothscroll.js"></script>

<body>
  <header>
    <nav>
      <ul>
        <li><a href="#home" class="smoothScroll">Home</a></li>
        <li><a href="#about" class="smoothScroll">About</a></li>
        <li><a href="#work" class="smoothScroll">Work</a></li>
        <li><a href="#contact" class="smoothScroll">Contact</a></li>
      </ul>
    </nav>
  </header>
  
  <!-----------------PAGES------------------>
  
  
  <!------Home------>
  
  <div id="page1">
    <a id="home"></a>
    
    
    <h1 id="home-text">Salut! 
      <br>My name is Laura.
      <br>I am a designer from France.<br> 
My homebase is in Kenosha, WI.</h1>
        <br>
         <a href="#page4" class="smoothScroll"><button id="hire-me" type="button">Say Hello!</button></a>
          
          </div>
          </div>
  
    
  <!------About------>
  
  <div id="page2">
    <a id="about"></a>
    <h1 id="about-title">About Me</h1>
    
      <img id="profile-pic" src="http://i870.photobucket.com/albums/ab270/frenchspy007/goosehat_zps21faef65.jpg"/> 
    <p align="justify"> My name is Laura Mortier.
      <br>I  have loved art ever since I was little and used an absurd amount<br> of markers in my drawings.<br> I graduated from the University of Wisconsin-Parkisde and am currently<br> working as a freelance designer for various clients.<br>My style of design focuses on simplicity, cleanliness and a tasteful mix of color.</p>
      <br>
      <p>When I'm not busy designing beautiful things, you can usually find me<br> playing video games, baking, taking pictures, or travelling the world.
        <br></p>
      
        <a href="https://drive.google.com/file/d/0B1-PFLXrRwCRanhUSWIyU0E1azA/edit?usp=sharing" target="_blank"><button id="resume" type="button">Download CV</button></a>
        
          
          <!------<ul id="hobby-list"
              
              <li><img src="http://i870.photobucket.com/albums/ab270/frenchspy007/cameraicon_zps7dd62c36.png"></li>
              <li>
                <img src="http://i870.photobucket.com/albums/ab270/frenchspy007/travelicon_zpsd2749c6c.png">
              </li>
              <li>
                <img src="http://i870.photobucket.com/albums/ab270/frenchspy007/sushiicon_zps33d7e9f5.png">
              </li>
              <li>
                <img src="http://i870.photobucket.com/albums/ab270/frenchspy007/gameboy-icon_zpsc68411af.png">
                
              </li>
              </ul>------------->
                </div>
  </div>
        
        
          
        </div>        
        
  <!------Work------>
  
   <div id="page3">
     <a id="work"></a>
     <h1 id="work-title">Recent Works</h1>
  <div class="portfolio">

<ul id="gallery">
	<li>

		<a class="lightbox" href="#image1">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/fc74f7cb-924b-4fa8-b1e6-4c3094001309_zpsc0e71a33.png"/>
		</a> 
		<div class="lightbox-target" id="image1">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/designerdesk_zps1eb2bab6.png"/>
      
  	<a class="lightbox-close" href="#page3"></a>
      
      <div class="caption">
           <p>A snapshot of a graphic designer's desk</p>
        </div>
      
		</div>
	</li>	

	<li>

		<a class="lightbox" href="#image2">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/41e657a2-9aa0-4100-a254-e7f55e669eb6_zps32c7892d.png"/>
		</a> 
		<div class="lightbox-target" id="image2">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/watchdogs_zps2bc025e3.png"/>
      
      
      
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>Watchdogs Facebook Cover Photo</p>
        </div>
      
		</div>
		
	</li>
	
  	<li>

		<a class="lightbox" href="#image3">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/59e13828-da06-4ed7-b90c-09d86074a30c_zps0f64c9ee.png"/>
		</a> 
		<div class="lightbox-target" id="image3">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/darksouls_zps214e3a97.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>Dark Souls II Facebook Cover Photo</p>
        </div>
      
		</div>
		
	</li>
	
    
    <li>

		<a class="lightbox" href="#image4">
  		<img src='http://i870.photobucket.com/albums/ab270/frenchspy007/33777950-27aa-472e-b9f2-24ee97a914ec_zpsf2c07957.png'/>
		</a> 
		<div class="lightbox-target" id="image4">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/c60f77ac4842dc76151408020b10666b_zpsf66f9cf0.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>"Paris My Sweet" Bookmark Design</p>
        </div>
      
		</div>
		
	</li>
	
	<li>

		<a class="lightbox" href="#image5">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/newMlogo_zpse9e2cd8f.png"/>
		</a> 
		<div class="lightbox-target" id="image5">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/d8340feb-cc71-420a-a58a-c9b454bb8732_zps28886966.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>My New Logo</p>
        </div>
      
		</div>
		
	</li>
	
    
    	<li>

		<a class="lightbox" href="#image6">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/fourelementthumb_zps493b15e8.png"/>
		</a> 
		<div class="lightbox-target" id="image6">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/fourelementscans_zpsa29c6bc1.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>Four Elements Energy Drink</p>
        </div>
      
		</div>
		
	</li>
    
    	<li>

		<a class="lightbox" href="#image7">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/bioshockposterthumbcopy_zpscfb4556d.png"/>
		</a> 
		<div class="lightbox-target" id="image7">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/bioshockposter_zps00c698b7.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>Bioshock Infinite Bakesale Poster</p>
        </div>
      
		</div>
		
	</li>
    
    	<li>

		<a class="lightbox" href="#image8">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/9a59db83-0f02-4cba-985f-244aa6a5a4a3_zps440d94e5.png">
		</a> 
		<div class="lightbox-target" id="image8">
  		<img src="http://i870.photobucket.com/albums/ab270/frenchspy007/nowloading_zps6b0f8f5f.png"/>
  	<a class="lightbox-close" href="#page3"></a>
      
        <div class="caption">
           <p>Now Loading Web Banner</p>
        </div>
      
		</div>
		
	</li>

</ul>

  <!------BEHANCE BUTTON------>

	
    	<a href="http://www.behance.net/laura-mortier" target="_blank">
        <button id="behance"><h3 id="behance-text">See More on Behance</h3></button>
        </a>

  
  <!------Contact------>
  
  <div id="page4">
    <a id="contact"></a>
    <h1 id="contact-title">Get in touch!</h1> 
    <p id="contact-text">Wanna work with me or just wanna say hi?<br>
    Drop me a line at <a href="mailto:mortierlaura@rocketmail.com" target="_top"> mortierlaura@rocketmail.com</a>, <br>
    and I'll get back to you as soon as I can!
      <br>
        <br>
        I am available for:
        <br>-Freelance
        <br>-Full-time
        <br>-Internships</p>
    <h1 id="social-text">Let's get social!</h1>

      <ul id="social">
        <li><a href="https://www.linkedin.com/in/mortierlaura" target="_blank"><img  src="http://i870.photobucket.com/albums/ab270/frenchspy007/linkedinicon_zps3903d301.png"></a></li>
        
        <li><a href="http://www.behance.net/laura-mortier" target="_blank"><img  src="http://i870.photobucket.com/albums/ab270/frenchspy007/behanceicon_zps41c0bbbd.png"></a></li>  
          
        <li><a href="https://www.twitter.com/laura_mortier" target="_blank"><img src="http://i870.photobucket.com/albums/ab270/frenchspy007/twittericon_zpsa6972a89.png"></a></li>    
          
        <li><a href="https://www.codepen.io/lauramortier/" target="_blank"><img src="http://i870.photobucket.com/albums/ab270/frenchspy007/codepenicon_zpsd9272c70.png"></a></li>      
          </ul>

      
<a href="#home" class="smoothScroll"> <button id="back-to-top" type="button"><h3 id="fshoo">FSHOO!</h3></button></a>
      
  </div>
   
  
</body>

<footer>
  <h3 id="footer-text">Laura Mortier &copy; All Rights Reserved</h3>
</footer>
  
            
          
!
            
              body{
  margin:0 auto;
  display:block;
  background-color:#34495e;
}

/*********Navigation***********/
header{
  display:block;
  background-color:#34495E;
  width:100%;
  height:60px;
  position:fixed;
  top:0px; 
}

header ul{
  margin:0;
  padding:0;
  float:right;
  margin-top:15px;
}


li{
  list-style:none;
  display:inline;
  color:white;
  font-family:helvetica;
  font-weight:bold;
  font-size: 24px;
  padding: 20px;
  
}



a:hover{
  color: #3498db;
}

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

/*********HOME PAGE***********/

#page1{
  margin:0;
  height:800px;
  background-color:#2980b9;
}


#home-text{
  font-family:helvetica;
  font-size:40px;
  font-weight:normal;
  color:white;
  margin: 0 auto;
  padding-top:150px;
  text-align:center;
}

#hire-me{
  background-color:#2980b9;
	border-radius:10px;
	color:white;
	border: 2px white solid;
	font-family:Arial, Helvetica, sans-serif;
	font-size:20px;
  width:130px;
  height:50px;
  display:table;
	margin: 0 auto;
  text-align:center;
	}

#hire-me:hover{
  border:dashed 3px white;
  cursor:pointer;
}

/*********ABOUT PAGE***********/

#page2{
  height:800px;
  background-color:#65C6BB;
  margin: 0 auto;
}

#about-title{
  font-family:helvetica;
  color:white;
  font-size:40px;
  padding-left:40px;
  padding-top:20px;
  padding-bottom:40px;
}


p{
  font-family:helvetica;
  text-align:center;
  font-size:18px;
  color:white;
  margin:0 auto;
}

#profile-pic{
  height:150px;
  width:150px;
  margin-left:417px;
  margin-bottom:30px;
  text-align:center;
  border-radius:100%;
  border: white 4px solid;
  display:inline-block;
  clear:both;
  
}

#resume{
  margin-left:430px;
  margin-top:30px;
  border-radius:5px;
  border-style: 3px white solid;
  background-color:#65C6BB;
  color:white;
  font-weight:bold;
  font-size:16px;
	border: 2px white solid;
	height:45px;
	width:130px;
  display:table;
}

#resume:hover{
	color:white;
	border: dashed 2px white;
  cursor:pointer;
	}

#hobby-title{
  color:white;
  font-family:helvetica;
  font-size:35px;
  font-weight:normal;
  text-align: center;
  margin: 0 auto;
}

#hobby-list{
   margin: 0 auto;
   text-align: center;
}


#hobby-list li{
   display:inline-block;
   padding:20px;
   clear:both;
   margin: 0 auto;
   text-align: center;
}

#hobbies{
  width:960px;
  height:50px;
  margin: 0 auto;
}

#stuff{
  text-align:center;
  margin: 0 auto;
  float:bottom;
  margin-top:25px;
  top:0;
  display:block;
}

/*********WORK PAGE***********/

/**************GALLERY LIGHTBOX******************/

/*Eliminates padding, centers the thumbnail */

#page3{
  height:675px;
  background-color:lightcoral;
}

#work-title{
  font-family:helvetica;
  color:#FFFFFF;
  font-size:40px;
  padding-left:40px;
  padding-top:20px;
}

h2{
  color:white;
  font-family:helvetica;
  padding-left:40px;
  font-weight:normal;
  font-size:24px;
}

.portfolio{
   height:400px;
   margin:0 auto;
	}
	
#gallery li{
   display:inline-block;
   margin:5px;
   clear:both;
   }

#gallery li a img:hover{
   border:dashed white;
}

#behance{
	background-color:lightcoral;
	border-radius:10px;
	color:white;
	border: 2px white solid;
	height:60px;
	width:200px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:18px;
	float:bottom;
	margin-left:380px;
	margin-bottom:20px;
	}
	
#behance:hover{
	color:white;
	border: dashed 2px white;
  cursor:pointer;
	}

#behance-text{
	font-weight:normal;
	padding:0;
	margin:0;
	}

.caption{
   text-align:center;
   position:absolute;
    color: #000;
    top: 20px;
    width: 350px;
    margin-left:20px;
}

.caption p{
  color:white;
  font-weight:normal;
}


/*******************LIGHTBOX*******************/   
   
   
   


/*******************LIGHTBOX*******************/


/* Styles the thumbnail */

a.lightbox img {
height: 150px;
width:150px;
border: 3px solid white;
border-radius:0px;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
margin: 5px;
}

/* Styles the lightbox, removes it from sight and adds the fade-in transition */

.lightbox-target {
position: fixed;
top: 0;
left:0;
width: 100%;
background: rgba(0,0,0,.7);
width: 100%;
opacity: 0;
-webkit-transition: opacity .5s ease-in-out;
-moz-transition: opacity .5s ease-in-out;
-o-transition: opacity .5s ease-in-out;
transition: opacity .5s ease-in-out;
overflow: hidden;
margin-bottom:0px
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target img{
margin: auto;
position: fixed;
top: 0;
left:0;
right:0;
bottom: 0;
max-height: 0%;
max-width: 0%;
border: 3px solid white;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
border-radius:0px;
}



/* Styles the close link, adds the slide down transition */

a.lightbox-close {
display: block;
width:50px;
height:50px;
box-sizing: border-box;
background: white;
color: black;
text-decoration: none;
position: fixed;
top: -80px;
right: 0;
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:before {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(45deg);
-moz-transform:rotate(45deg);
-o-transform:rotate(45deg);
transform:rotate(45deg);
}

/* Provides part of the "X" to eliminate an image from the close link */

a.lightbox-close:after {
content: "";
display: block;
height: 30px;
width: 1px;
background: black;
position: absolute;
left: 26px;
top:10px;
-webkit-transform:rotate(-45deg);
-moz-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
transform:rotate(-45deg);
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */

.lightbox-target:target {
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target img {
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 0px;
}

/*********CAPTION*************/

#caption{
  color:black;
  height:50px;
  width:100%;
  background-color:white;
  top:0;
  
}





/*********CONTACT PAGE***********/

#page4{
  background-color:steelblue;
  height:500px;
}

#contact-title{
  font-family:helvetica;
  color:white;
  font-size:40px;
  padding-left:40px;
  padding-top:20px;
}

#contact-text{
  color:white;
  font-size:18px;
  font-family:helvetica;
  padding-left:40px;
  font-weight:normal;
}

#social-text{
  font-family:helvetica;
  font-size:40px;
  color:white;
  padding-left:40px;
}

#social-p{
  color:white;
  font-size:18px;
  font-family:helvetica;
  padding-left:40px;
  font-weight:normal;
  top:0;
}

#social li{
  padding:5px;
  float:bottom;
  top:0;
}

#social li a img{
  border: 2px solid white;
}

#social li a img:hover{
  border:2px dashed white;
}
#submit{
	margin-top:20px;
	}

/*********CONTACT FORM AND IT'S NOT READY BECAUSE I SUCK AT PHP***********

form{
  padding-left:40px;
}

label{
  display:block;
  margin-top:20px;
  letter-spacing:2px;
  font-family:helvetica;
  color:white;
  font-size:18px;
}

input, textarea {
	width:400px;
	height:27px;
	background:#efefef;
	border:1px solid #dedede;
	padding:10px;
	margin-top:3px;
  font-family:helvetica;
  font-size:0.9em;
  color:#3a3a3a;
}

input, textarea {
    width:400px;
    height:27px;
    background:#efefef;
    border:1px solid #dedede;
    padding:10px;
    margin-top:3px;
    font-size:0.9em;
    color:#3a3a3a;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

textarea {
	height:213px;
	background:url(images/textarea-bg.jpg) right no-repeat #efefef;
}

input:focus, textarea:focus {
    border:1px solid #97d6eb;
}

#submit{
  background-color:steelblue;
  font-family:helvetica;
  font-size:18px;
  color:white;
  border: 2px solid white;
  height:30px;
  width:130px;
  padding:0;
}

#submit:hover{
  background-color:lightcoral;
}

#contact-info{
  color:white;
  font-family:helvetica;
  font-size:16px;
}*/

/*********BACK TO TOP BUTTON***********/

#back-to-top{
  bottom:0;
  margin-left:425px;
  margin-top: 20px;
  border-radius:5px;
  color:white;
  font-family:helvetica;
  background-color: steelblue;
  border: none;
  height:50px;
  width:150px;
  
}

#back-to-top:hover{
  border:dashed 2px white;
  cursor:pointer;
}





/*********FOOTER***********/

footer{
  background-color:#34495E;
  height:60px;
  border-radius:10px;
  margin-top:0px;
  
}


#footer-text{
  font-family:helvetica;
  color:white;
  font-size:18px;
  font-weight: normal;
  padding-top:10px;
  padding-left:25px;
}
            
          
!
            
              /**
 * SmoothScroll
 * This helper script created by DWUser.com.  Copyright 2012 DWUser.com.  
 * Dual-licensed under the GPL and MIT licenses.  
 * All individual scripts remain property of their copyrighters.
 * Date: 10-Sep-2012
 * Version: 1.0.1
 */
if (!window['jQuery']) alert('The jQuery library must be included before the smoothscroll.js file.  The plugin will not work propery.');

/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2012 Ariel Flesler - aflesler(at)gmail(dot)com | https://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * @author Ariel Flesler
 * @version 1.4.3.1
 */
;(function($){var h=$.scrollTo=function(a,b,c){$(window).scrollTo(a,b,c)};h.defaults={axis:'xy',duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:true};h.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(e,f,g){if(typeof f=='object'){g=f;f=0}if(typeof g=='function')g={onAfter:g};if(e=='max')e=9e9;g=$.extend({},h.defaults,g);f=f||g.duration;g.queue=g.queue&&g.axis.length>1;if(g.queue)f/=2;g.offset=both(g.offset);g.over=both(g.over);return this._scrollable().each(function(){if(e==null)return;var d=this,$elem=$(d),targ=e,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}$.each(g.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=h.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(g.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=g.offset[pos]||0;if(g.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*g.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(g.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&g.queue){if(old!=attr[key])animate(g.onAfterFirst);delete attr[key]}});animate(g.onAfter);function animate(a){$elem.animate(attr,f,g.easing,a&&function(){a.call(this,e,g)})}}).end()};h.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

/**
 * jQuery.LocalScroll
 * Copyright (c) 2007-2010 Ariel Flesler - aflesler(at)gmail(dot)com | https://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 05/31/2010
 * @author Ariel Flesler
 * @version 1.2.8b
 **/
;(function(b){function g(a,e,d){var h=e.hash.slice(1),f=document.getElementById(h)||document.getElementsByName(h)[0];if(f){a&&a.preventDefault();var c=b(d.target);if(!(d.lock&&c.is(":animated")||d.onBefore&&!1===d.onBefore(a,f,c))){d.stop&&c._scrollable().stop(!0);if(d.hash){var a=f.id==h?"id":"name",g=b("<a> </a>").attr(a,h).css({position:"absolute",top:b(window).scrollTop(),left:b(window).scrollLeft()});f[a]="";b("body").prepend(g);location=e.hash;g.remove();f[a]=h}c.scrollTo(f,d).trigger("notify.serialScroll",
[f])}}}var i=location.href.replace(/#.*/,""),c=b.localScroll=function(a){b("body").localScroll(a)};c.defaults={duration:1E3,axis:"y",event:"click",stop:!0,target:window,reset:!0};c.hash=function(a){if(location.hash){a=b.extend({},c.defaults,a);a.hash=!1;if(a.reset){var e=a.duration;delete a.duration;b(a.target).scrollTo(0,a);a.duration=e}g(0,location,a)}};b.fn.localScroll=function(a){function e(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,"")==i&&(!a.filter||b(this).is(a.filter))}
a=b.extend({},c.defaults,a);return a.lazy?this.bind(a.event,function(d){var c=b([d.target,d.target.parentNode]).filter(e)[0];c&&g(d,c,a)}):this.find("a,area").filter(e).bind(a.event,function(b){g(b,this,a)}).end().end()}})(jQuery);

// Initialize all .smoothScroll links
jQuery(function($){ $.localScroll({filter:'.smoothScroll'}); });
            
          
!
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