cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
  <div class="container topnav">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand topnav" href="http://mitziw.github.io/" target="_blank">Mitzi Withrow</a>
    </div>
    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li>
          <a href="#home">Home</a>
        </li>
        <li>
          <a href="#about">About</a>
        </li>
        <li>
          <a href="#portfolio">Portfolio</a>
        </li>
        <li>
          <a href="#contact">Contact</a>
        </li>
      </ul>
    </div>
    <!-- /.navbar-collapse -->
  </div>
  <!-- /.container -->
</nav>


<!-- Header -->
<a name="home"></a>
<div class="intro-header">
  <div class="bg-overlay">
    <div class="container">
      <div class="row">
        <div class="col-lg-12">
          <div class="intro-message">
            <h1>Digital Mayhem</h1>
            <h3>Where 'Awesome' is said so often, it has no meaning anymore.</h3>
            <hr class="intro-divider">
 <div class="container">
 <!-- Twitter -->
<a href="http://twitter.com/home?status=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Twitter" target="_blank" class="btn btn-twitter" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-twitter"></i> Twitter</a>
 <!-- Facebook -->
<a href="https://www.facebook.com/sharer/sharer.php?u=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Facebook" target="_blank" class="btn btn-facebook" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-facebook"></i> Facebook</a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Google+" target="_blank" class="btn btn-googleplus" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-google-plus"></i> Google+</a>
<!-- LinkedIn --> 
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http://codepen.io/mitziw/pen/yYBMyN&title=Portfolio&summary=Some of my latest projects" title="Share on LinkedIn" target="_blank" class="btn btn-linkedin" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-linkedin"></i> LinkedIn</a>
            </div>
          </div>
        </div>
      </div>

    </div>
    <!-- /.container -->
  </div>
</div>
<!-- /.intro-header -->

<!-- Page Content -->

<a name="about"></a>
<div class="content-section-a">
  <div class="bg-overlay2">
    <div class="container">
      <div class="row">
        <div class="col-lg-5 col-sm-6">

          <div class="clearfix"></div>
          <h2 class="section-heading">Digital Mayhem.</h2>
          </br>
          <p class="lead">I'm a <a class="link" target="_blank" href="https://www.linkedin.com/in/mitziwithrow"> digital strategist</a>.</br>
            I'm currently part of a small web development team in a organization of labor unions, building web and mobile applications.</br>
            </br></br>
    
            Languages and Frameworks:</br>
            Javascript, HTML5, CSS3, jQuery, Bootstrap3.</br>
            Tools & expertise:</br>
            Git, Responsive Web Design, Agile Methodologies.
          </p>
        </div>
        <div>
          <img class="img-circle img-responsive" src="https://goo.gl/photos/12iiE7c8xH2r4seHA" alt="">
        </div>
      </div>

    </div>
    <!-- /.container -->
  </div>
</div>
</div>

<!-- Portfolio Grid Section -->
<a name="portfolio"></a>
<section id="portfolio" class="bg-light-gray bounds">
  <div class="container">
    <div class="row">
      <div class="col-lg-12 text-center">
        <h2 class="section-heading">Portfolio.</h2>
        <h3>Below you'll find some of my recent work.</h3>
      </div>
    </div>
    <!-- Portfolio img1 -->
    <div class="row">
      <div class="col-md-4 col-sm-6 portfolio-item">
        <a href="#" target="_blank" class="portfolio-link" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
          <h4>Project 1</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
        </div>
      </div>
      <!-- End of Portfolio img1 -->

      <!-- Portfolio img2 -->
      <div class="col-md-4 col-sm-6 portfolio-item portfolio2">
        <a href="#" class="portfolio-link" target="_blank" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
 <h4>Project 2</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
        </div>
      </div>
      <!-- End of Portfolio img2 -->

      <!-- Portfolio img3 -->
      <div class="col-md-4 col-sm-6 portfolio-item">
        <a href="#" target="_blank" class="portfolio-link" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
         <h4>Project 3</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
        </div>
      </div>
      <!-- End of Portfolio img3 -->

      <!-- Portfolio img4 -->
      <div class="col-md-4 col-sm-6 portfolio-item">
        <a href="#" target="_blank" class="portfolio-link" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
   <h4>Project 4</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
      </div>
      </div>
      <!-- End of Portfolio img4 -->

      <!-- Portfolio img5 -->
      <div class="col-md-4 col-sm-6 portfolio-item">
        <a href="#" target="_blank" class="portfolio-link" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
   <h4>Project 5</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
      </div>
      </div>
      <!-- End of Portfolio img5 -->

      <!-- Portfolio img6 -->
      <div class="col-md-4 col-sm-6 portfolio-item">
        <a href="#" target="_blank" class="portfolio-link" data-toggle="modal">
          <div class="portfolio-hover">
            <div class="portfolio-hover-content">
              <i class="fa fa-fire fa-3x"></i>
            </div>
          </div>
          <img src="http://i.imgur.com/jESF2.jpg" class="img-responsive" alt="">
        </a>
        <div class="portfolio-caption">
  <h4>Project 6</h4>
          <p id="small-text" class="text-muted">Cras ultricies ligula sed magna</p>
       </div>
      </div>
      <!-- End of Portfolio img6 -->
    </div>
  </div>
</section>

<a name="contact"></a>
   <div class="banner">
  <div class="bg-overlay4">
        <div class="col-lg-12">
          <h2 class="connect">Connect with Digital Mayhem: thestrangerbesideme@gmail.com</h2>
       
   <!-- Twitter -->
<a href="http://twitter.com/home?status=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Twitter" target="_blank" class="btn btn-twitter" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-twitter"></i> Twitter</a>
 <!-- Facebook -->
<a href="https://www.facebook.com/sharer/sharer.php?u=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Facebook" target="_blank" class="btn btn-facebook" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-facebook"></i> Facebook</a>
<!-- Google+ -->
<a href="https://plus.google.com/share?url=http://codepen.io/mitziw/pen/yYBMyN" title="Share on Google+" target="_blank" class="btn btn-googleplus" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-google-plus"></i> Google+</a>
<!-- LinkedIn --> 
<a href="http://www.linkedin.com/shareArticle?mini=true&url=http://codepen.io/mitziw/pen/yYBMyN&title=Portfolio&summary=Some of my latest projects" title="Share on LinkedIn" target="_blank" class="btn btn-linkedin" onclick="_gaq.push(['_trackEvent', 'btn-social-icon', 'click', 'btn-lg']);"><i class="fa fa-linkedin"></i> LinkedIn</a>
           </div>
           </div>
      <!-- /.container -->

    </div>
<!-- /.banner -->

<!-- Footer -->
<footer>

  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <ul class="list-inline">
          <li>
            <a href="#">Home</a>
          </li>
          <li class="footer-menu-divider">&sdot;</li>
          <li>
            <a href="#about">About</a>
          </li>
          <li class="footer-menu-divider">&sdot;</li>
          <li>
            <a href="#portfolio">Portfolio</a>
          </li>
          <li class="footer-menu-divider">&sdot;</li>
          <li>
            <a href="#contact">Contact</a>
          </li>
        </ul>
        <p class="copyright text-muted small">Copyright &copy; Digital Mayhem 2015. All Rights Reserved</p>
      </div>
    </div>
  </div>
</footer>
            
          
!
            
                    body,
      html {
        width: 100%;
        height: 100%;
      }
      
      body,
      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 700;
      }
      
      .topnav {
        font-size: 16px;
        border-bottom: 1px outset rgba(192, 192, 192, 0.5);
        background: rgba(192, 192, 192, 0.9);
        box-shadow: 0px 1px rgba(0, 0, 0, 0.3);
      }
      
      .topnav ul.navbar-nav li a {
        background: rgba(28, 28, 28, 0.1);
        color: #000;
      }
      
      .topnav ul.navbar-nav li a:hover,
      .topnav ul.navbar-nav li a:focus {
        background: rgba(255, 255, 255, 0.5);
        color: #000;
      }
      
      .topnav .navbar-brand {
        background: rgba(28, 28, 28, 0.0);
        color: #000;
      }
      
      .topnav .navbar-brand:hover,
      .topnav .navbar-brand:focus {
        background: rgba(255, 255, 255, 0.5);
        color: #000;
      }
      
      .lead {
        font-size: 18px;
        font-weight: 400;
      }
      /*top background*/
      
      .intro-header {
        height: 855px;
        padding-top: 50px;
        /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
        
        padding-bottom: 50px;
        text-align: center;
        background: url('https://images.unsplash.com/photo-1421757295538-9c80958e75b0?q=80&fm=jpg&s=b309d6983c9e14955b27e594f84a8b1e') no-repeat center center fixed;
        background-size: cover;
        height: 855px;
      }
      
      .bg-overlay {
        background: rgba(0, 0, 0, 0.3);
        height: 855px;
      }
      
      .intro-message {
        position: relative;
        padding-top: 20%;
        padding-bottom: 20%;
      }
      /*Big header*/
      
      .intro-message > h1 {
        margin-top: -50px;
        text-shadow: 2px 1px 2px #000;
        font-size: 5em;
        color: rgba(255, 255, 255, 0.7);
      }
      
      .intro-divider {
        width: 400px;
        border-top: 1px solid #f8f8f8;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
      }
      /*small header*/
      
      .intro-message > h3 {
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
        color: white;
      }
      
      @media(max-width:767px) {
        .intro-message {
          padding-bottom: 15%;
        }
        .intro-message > h1 {
          font-size: 3em;
        }
        .intro-divider {
          width: 100%;
        }
      }
      /*line*/
      
      hr.intro-divider {
        border: 1px outset rgba(255, 255, 255, 0.2);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
        width: 100%;
      }
      /*section 2*/
      
      .content-section-a {
        padding: 50px 0;
        background: url('https://images.unsplash.com/photo-1413834932717-29e7d4714192?q=80&fm=jpg&s=9acc056cc9fe1c2344d5387071d0dc50') no-repeat center center fixed;
        background-size: cover;
        height: 855px;
      }
      
      .bg-overlay2 {
        margin-top: -50px;
        background: rgba(255, 255, 255, 0.2);
        height: 855px;
      }
      /*self-taught*/
      
      .container .link {
        color: rgb(255, 255, 255);
        font-weight: bold;
        font-size: 22px;
      }
      
      .container .link:hover {
        color: rgb(0, 0, 128);
        font-weight: bold;
        font-size: 22.5px;
      }
      
      h2.section-heading {
        margin-top: 100px;
        font-size: 3em;
        color: rgba(0, 0, 0, 0.9);
      }
      /*text*/
      
      .content-section-a p {
        font-size: 22px;
        font-weight: bold;
        color: #000;
      }
      
      .content-section-a p a {
        color: silver;
        font-weight: bold;
      }
      /*profile picture*/
      
      .img-circle {
        background-repeat: no-repeat;
        border-radius: 50%;
        width: 300px;
        height: 300px;
        margin-top: 200px;
        margin-left:80px;
        border: 1px outset rgba(255, 255, 255, 0.3);
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
      }
      /* Portfolio section*/
      
      section {
        color: white;
        background: url('https://images.unsplash.com/photo-1433840496881-cbd845929862?q=80&fm=jpg&s=c9a1a21dbf8a9d16477ea4b54afc8a48') no-repeat center center fixed;
        background-size: cover;
      }
      
      #below-section {
        color: #000;
      }
      
      #small-text {
        color: white;
      }
      /*.portfolio-item {
  overflow: hidden;
  padding: 7px;
  color: white;
  height: 308px;
}*/
      /*Portfolio items*/
      
      #portfolio .portfolio-item {
        margin: 0 0 15px;
        right: 0;
        border: 1px outset rgba(255, 255, 255, 0.6);
      }
      
      #portfolio .portfolio-item:hover {
        transition: 0.5s;
        box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.9);
      }
      
      #portfolio .portfolio-item .portfolio-link {
        display: block;
        position: relative;
        max-width: 400px;
        margin: 0 auto;
      }
      
      #portfolio .portfolio-item .portfolio-link .portfolio-hover {
        background: rgba(0, 0, 0, .7);
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: all ease .5s;
        -webkit-transition: all ease .5s;
        -moz-transition: all ease .5s,
      }
      
      #portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
        opacity: 1;
      }
      
      #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
        position: absolute;
        width: 100%;
        height: 20px;
        font-size: 20px;
        text-align: center;
        top: 50%;
        margin-top: -12px;
        color: #fff;
      }
      
      #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
        margin-top: -12px;
      }
      
      #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
      #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
        margin: 0;
      }
      
      #portfolio .portfolio-item .portfolio-caption {
        max-width: 400px;
        margin: 0 auto;
        background-color: rgba(0, 0, 0, 0.8);
        text-align: center;
        padding: 25px;
      }
      
      #portfolio .portfolio-item .portfolio-caption h4 {
        color: #fff;
        text-transform: none;
        margin: 0;
      }
      
      #portfolio .portfolio-item .portfolio-caption p {
        font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-style: italic;
        font-size: 13px;
        margin: 0;
      }
      
      #portfolio * {
        z-index: 2;
      }
      
      @media (min-width:767px) {
        #portfolio .portfolio-item {
          margin: 0 0 30px;
        }
      }
      /*.col-md-4 {
  overflow: hidden;
  display: inline-block;
  border: 1px outset rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.6);
  border-radius: 1%;
  text-align: center;
  box-shadow: 2px 3px 2px rgba(0,0,0,0.3);
  text-shadow: 1px 2px 1px rgba(0,0,0,0.3);
  cursor: pointer;
}
.col-md-4:hover {
  transition: 0.5s;
  box-shadow: 5px 10px 5px rgba(0,0,0,0.9);  
}*/
      
      .section-heading-spacer {
        float: left;
        width: 200px;
        border-top: 3px solid #e7e7e7;
      }
      
      .banner {
        padding: 100px 0;
        background: url('https://images.unsplash.com/photo-1416592525293-e65266465eb7?q=80&fm=jpg&s=64a4b91fde8ef2dfc7221851156d162a') no-repeat center center fixed;
        background-size: cover;
        height: 755px;
      }
      
      .bg-overlay4 {
        font-size: 20px;
        text-align: center;
        margin-top: -80px;
        padding: 100px 0;
      }
.btn-twitter {
    background: #00acee;
    border-radius: 0;
    color: #fff
}
.btn-twitter:link, .btn-twitter:visited {
    color: #fff
}
.btn-twitter:active, .btn-twitter:hover {
    background: #0087bd;
    color: #fff
}
.btn-facebook {
    background: #3b5998;
    border-radius: 0;
    color: #fff
}
.btn-facebook:link, .btn-facebook:visited {
    color: #fff
}
.btn-facebook:active, .btn-facebook:hover {
    background: #30477a;
    color: #fff
}
.btn-googleplus {
    background: #e93f2e;
    border-radius: 0;
    color: #fff
}
.btn-googleplus:link, .btn-googleplus:visited {
    color: #fff
}
.btn-googleplus:active, .btn-googleplus:hover {
    background: #ba3225;
    color: #fff
}
.btn-stumbleupon {
    background: #f74425;
    border-radius: 0;
    color: #fff
}
.btn-stumbleupon:link, .btn-stumbleupon:visited {
    color: #fff
}
.btn-stumbleupon:active, .btn-stumbleupon:hover {
    background: #c7371e;
    color: #fff
}
.btn-linkedin {
    background: #0e76a8;
    border-radius: 0;
    color: #fff
}
.btn-linkedin:link, .btn-linkedin:visited {
    color: #fff
}
.btn-linkedin:active, .btn-linkedin:hover {
    background: #0b6087;
    color: #fff
}      
      h2.connect {
        margin: 50px;
        color: rgba(0, 0, 0, 0.9);
      }
      
      footer {
        padding: 50px 0;
        background: rgba(192, 192, 192, 0.9);
      }
      
      p.copyright {
        margin: 15px 0 0;
      }
            
          
!
            
              /* detect touch */
if("ontouchstart" in window){
    document.documentElement.className = document.documentElement.className + " touch";
}
if(!$("html").hasClass("touch")){
    /* background fix */
    $(".parallax").css("background-attachment", "fixed");
}

/* fix vertical when not overflow
call fullscreenFix() if .fullscreen content changes */
function fullscreenFix(){
    var h = $('body').height();
    // set .fullscreen height
    $(".content-b").each(function(i){
        if($(this).innerHeight() <= h){
            $(this).closest(".fullscreen").addClass("not-overflow");
        }
    });
}
$(window).resize(fullscreenFix);
fullscreenFix();

/* resize background images */
function backgroundResize(){
    var windowH = $(window).height();
    $(".background").each(function(i){
        var path = $(this);
        // variables
        var contW = path.width();
        var contH = path.height();
        var imgW = path.attr("data-img-width");
        var imgH = path.attr("data-img-height");
        var ratio = imgW / imgH;
        // overflowing difference
        var diff = parseFloat(path.attr("data-diff"));
        diff = diff ? diff : 0;
        // remaining height to have fullscreen image only on parallax
        var remainingH = 0;
        if(path.hasClass("parallax") && !$("html").hasClass("touch")){
            var maxH = contH > windowH ? contH : windowH;
            remainingH = windowH - contH;
        }
        // set img values depending on cont
        imgH = contH + remainingH + diff;
        imgW = imgH * ratio;
        // fix when too large
        if(contW > imgW){
            imgW = contW;
            imgH = imgW / ratio;
        }
        //
        path.data("resized-imgW", imgW);
        path.data("resized-imgH", imgH);
        path.css("background-size", imgW + "px " + imgH + "px");
    });
}
$(window).resize(backgroundResize);
$(window).focus(backgroundResize);
backgroundResize();

/* set parallax background-position */
function parallaxPosition(e){
    var heightWindow = $(window).height();
    var topWindow = $(window).scrollTop();
    var bottomWindow = topWindow + heightWindow;
    var currentWindow = (topWindow + bottomWindow) / 2;
    $(".parallax").each(function(i){
        var path = $(this);
        var height = path.height();
        var top = path.offset().top;
        var bottom = top + height;
        // only when in range
        if(bottomWindow > top && topWindow < bottom){
            var imgW = path.data("resized-imgW");
            var imgH = path.data("resized-imgH");
            // min when image touch top of window
            var min = 0;
            // max when image touch bottom of window
            var max = - imgH + heightWindow;
            // overflow changes parallax
            var overflowH = height < heightWindow ? imgH - height : imgH - heightWindow; // fix height on overflow
            top = top - overflowH;
            bottom = bottom + overflowH;
            // value with linear interpolation
            var value = min + (max - min) * (currentWindow - top) / (bottom - top);
            // set background-position
            var orizontalPosition = path.attr("data-oriz-pos");
            orizontalPosition = orizontalPosition ? orizontalPosition : "50%";
            $(this).css("background-position", orizontalPosition + " " + value + "px");
        }
    });
}
if(!$("html").hasClass("touch")){
    $(window).resize(parallaxPosition);
    //$(window).focus(parallaxPosition);
    $(window).scroll(parallaxPosition);
    parallaxPosition();
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console