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 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

              
                

 <body ng-app='yourApp'>
  <button class="effeckt-ng-page-menu-btn">Menu</button>
    
  <div class="effeckt-ng-page-container effeckt-ng-page-3d-flip" uncss-keep="effeckt-ng-page-open-menu effeckt-ng-page-lock-scroll">
    
    <div class="effeckt-ng-page-nav">
      <div class="effeckt-ng-page-nav-content">
        <h2 class="">Wong Lok</h2>
        <ul>
          <li><button class="effeckt-ng-page-menu-btn-close">Close X</button></li>
          <li><a class="" active-link='active' ng-href="#/">Home</a></li>
          <li><a class="" active-link='active' ng-href="#/page2">Work</a></li>
        </ul>
      </div>
    </div>

    <div ng-view="" class="effeckt-ng-page-view"></div>

  </div>
</body>


<link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.css" rel="stylesheet" type="text/css" title="Default Style">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular-route.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular-animate.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular-touch.min.js"></script>
<script src="//rawgit.com/desandro/classie/master/classie.js"></script>


<script type="text/ng-template" id="views/page1.html">

<div class="page page-1">
  
  
  <img  src="http://lorempixel.com/1920/1080/food/6/" style="width: 100%" />
  
  </div>

</script>
<script type="text/ng-template" id="views/page2.html">

<div class="page page-2">
  
  <img  src="http://lorempixel.com/1920/1080/food/5/" style="width: 100%" />
  
  </div>

</script>
  
  
  
              
            
!

CSS

              
                @import "compass/css3";

/* ============================================
  Page Structure
   ============================================ */
/**,

*:after,
*::before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*/

/* ============================================
Structure
   ============================================ */

.browsehappy {
    display: block;
    position: absolute;
    top: -30px;
    left: 0;
    z-index: 500;
  width: 100%;

    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
    height: 30px;
}
html.lt-ie9 body{
  margin-top: 30px;
}



html,
body,
.effeckt-ng-page-container,
.effeckt-ng-page-view{
  height: 100%;
  position: relative;
}


.effeckt-ng-page-view{
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
}
.effeckt-ng-page-view{
  z-index: 100;
}

.effeckt-ng-page-lock-scroll.effeckt-ng-page-container{
  overflow: hidden;
}

.effeckt-ng-page-lock-scroll.effeckt-ng-page-container .effeckt-ng-page-view{
  overflow: hidden;
}


/* ============================================
Page3D flip
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container{
  -webkit-perspective: 1500px;
  -moz-perspective: 1500px;
  -ms-perspective: 1500px;
  perspective: 1500px;
}

.effeckt-ng-page-3d-flip.effeckt-ng-page-container .effeckt-ng-page-view{
  will-change: none;
  -webkit-transform-origin: 100% 50%;
  -moz-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}



/* ============================================
Timing - Close 3D
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view.ng-enter.ng-enter-active {
  transition: all 0.5s 0.1s;
}
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view{
  transition: transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s 0.5s, opacity 0.5s;
}

/* ============================================
Timing - Open 3D
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view{
  transition: transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s 0.2s, opacity 0.5s;
} 

/* ============================================
Timing - Card Close
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave.ng-leave-active,
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave{
  -webkit-transition: all 0.5s 0.1s;
  -moz-transition: all 0.5s 0.1s;
  -ms-transition: all 0.5s 0.1s;
  -o-transition: all 0.5s 0.1s;
  transition: all 0.5s 0.1s;
}

/* ============================================
Timing - Card Open
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter.ng-enter-active,
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter{
  -webkit-transition: all 0.75s 0.5s;
  -moz-transition: all 0.75s 0.5s;
  -ms-transition: all 0.75s 0.5s;
  -o-transition: all 0.75s 0.5s;
  transition: all 0.75s 0.5s;
}



/* ============================================
  Start Card Open
  ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter{
    -webkit-transform: rotateY(-30deg) scale(0.7);
  -moz-transform: rotateY(-30deg) scale(0.7);
  -ms-transform: rotateY(-30deg) scale(0.7);
  -o-transform: rotateY(-30deg) scale(0.7);
  transform: rotateY(-30deg) scale(0.7);
  opacity: 0;
}


/* ============================================
Finish Card Open
   ============================================ */
/* ============================================
Start Card Close
   ============================================ */
/* ============================================
3d Menu Opened (3D State)
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter.ng-enter-active,
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave,
.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view{
  -webkit-transform: rotateY(-30deg);
  -moz-transform: rotateY(-30deg);
  -ms-transform: rotateY(-30deg);
  -o-transform: rotateY(-30deg);
  transform: rotateY(-30deg);
  opacity: 0.5;
}



.effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave.ng-leave-active {
    -webkit-transform: rotateY(-30deg) scale(1.3);
  -moz-transform: rotateY(-30deg) scale(1.3);
  -ms-transform: rotateY(-30deg) scale(1.3);
  -o-transform: rotateY(-30deg) scale(1.3);
  transform: rotateY(-30deg) scale(1.3);
  opacity: 0;
}


/* ============================================
Desktop Close / Open Page
   ============================================ */
@media screen and (min-width: 961px) {

  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter {
    -webkit-transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
    -moz-transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
    -ms-transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
    -o-transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
    transform: translateY(-50%) rotateY(-30deg) rotateX(15deg);
    opacity: 0;
  }

  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter.ng-enter-active,
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave,
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view{
    -webkit-transform: rotateY(-30deg);
    -moz-transform: rotateY(-30deg);
    -ms-transform: rotateY(-30deg);
    -o-transform: rotateY(-30deg);
    transform: rotateY(-30deg);
    opacity: 0.5;

  }

  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave.ng-leave-active {
    -webkit-transform: translateY(50%) rotateY(-30deg) rotateX(-15deg);
    -moz-transform: translateY(50%) rotateY(-30deg) rotateX(-15deg);
    -ms-transform: translateY(50%) rotateY(-30deg) rotateX(-15deg);
    -o-transform: translateY(50%) rotateY(-30deg) rotateX(-15deg);
    transform: translateY(50%) rotateY(-30deg) rotateX(-15deg);
    opacity: 0;
  }
}

@media screen and (min-width: 1300px) {
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view,
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view {
    -webkit-transition: all 0.5s 0.2s;
    -moz-transition: all 0.5s 0.2s;
    -ms-transition: all 0.5s 0.2s;
    -o-transition: all 0.5s 0.2s;
    transition: all 0.5s 0.2s;
  }

  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter {
    -webkit-transform: translateX(-108px) rotateY(-30deg);
    -moz-transform: translateX(-108px) rotateY(-30deg);
    -ms-transform: translateX(-108px) rotateY(-30deg);
    -o-transform: translateX(-108px) rotateY(-30deg);
    transform: translateX(-108px) rotateY(-30deg);
    opacity: 0;
  }

  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-enter.ng-enter-active,
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave,
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view{
    -webkit-transform: translateX(-100px) rotateY(-30deg);
    -moz-transform: translateX(-100px) rotateY(-30deg);
    -ms-transform: translateX(-100px) rotateY(-30deg);
    -o-transform: translateX(-100px) rotateY(-30deg);
    transform: translateX(-100px) rotateY(-30deg);
    opacity: 0.5;
  }
  .effeckt-ng-page-3d-flip.effeckt-ng-page-container.effeckt-ng-page-open-menu .effeckt-ng-page-view.ng-leave.ng-leave-active {
    -webkit-transform: translateX(-92px) rotateY(-30deg);
    -moz-transform: translateX(-92px) rotateY(-30deg);
    -ms-transform: translateX(-92px) rotateY(-30deg);
    -o-transform: translateX(-92px) rotateY(-30deg);
    transform: translateX(-92px) rotateY(-30deg);
    opacity: 0;
  }
}



/* ============================================
Page in 2D Scene Trasnforms (For fixing iOS 7 Swipe)
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view.ng-enter {
  opacity: 0.35;
}
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view.ng-enter.ng-enter-active {
  opacity: 1;
}
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view.ng-leave {
  opacity: 1;
}
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view.ng-leave.ng-leave-active {
  opacity: 0;
}


/* ============================================
3D Menu Closed (Normal State)
   ============================================ */
.effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view{
/*  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;*/
  opacity: 1;
}
.desktop .effeckt-ng-page-3d-flip.effeckt-ng-page-container:not(.effeckt-ng-page-open-menu) .effeckt-ng-page-view{
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}




/* ============================================
Menu Button
   ============================================ */
.effeckt-ng-page-nav-trigger{
  position: fixed;
  z-index: 250;


  top: 0;
  left: -240px;
  width: 244px;

  color: yellow;

  height: 100%;
  background-color: rgba(255, 200, 0, 0.8) !important;
  background-color: #FFCC00;


  border: 0;
  margin: 0px 0px;

  cursor: pointer;

  will-change: transform,opacity;
  opacity: 0;

  -webkit-transition: -webkit-transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s, opacity 0.5s 0.75s;
  -moz-transition: -moz-transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s, opacity 0.5s 0.75s;
  -ms-transition: -ms-transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s, opacity 0.5s 0.75s;
  -o-transition: -o-transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s, opacity 0.5s 0.75s;
  transition: transform cubic-bezier(0.09, 0.68, 0, 0.99) 0.5s, opacity 0.5s 0.75s;

  box-shadow: 0 0 10px 0 #ccc;

}



.effeckt-ng-page-nav-trigger:hover,
.effeckt-ng-page-nav-trigger.open{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
  -khtml-opacity: 0.85;
  opacity: 0.85;


  -webkit-transform: translateX(240px);
  -moz-transform: translateX(240px);
  -ms-transform: translateX(240px);
  -o-transform: translateX(240px);
  transform: translateX(240px);

/*
  -webkit-animation-timing-function: cubic-bezier(0.09, 0.68, 0, 0.99);
  -moz-animation-timing-function: cubic-bezier(0.09, 0.68, 0, 0.99);
  -o-animation-timing-function: cubic-bezier(0.09, 0.68, 0, 0.99);
  animation-timing-function: cubic-bezier(0.09, 0.68, 0, 0.99);
*/

  -webkit-animation-name: trigger-flash;
  animation-name: trigger-flash;

  -webkit-animation-duration: 1s;
  animation-duration: 1s;

  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.effeckt-ng-page-open-menu .effeckt-ng-page-nav-trigger:hover{
  display: block;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0.0;
  -khtml-opacity: 0.0;
  opacity: 0.0;
}

/* prevents fouc */
.effeckt-ng-page-nav-trigger{
  display: block;
}

.no-csstransforms3d .effeckt-ng-page-nav-trigger:hover{
  left: 0px;
}

@-webkit-keyframes trigger-flash {
  0%, 50%, 100% {
    opacity: 0.85;
  }
  25%, 75% {
    opacity: 0.2;
  }
}

@keyframes trigger-flash {
  0%, 50%, 100% {
    opacity: 0.85;
  }
  25%, 75% {
    opacity: 0.2;
  }
}




/* ============================================
Menu Button
   ============================================ */
.effeckt-ng-page-menu-btn{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 500;

  width: 100px;
  height: auto;

  border: 0;

  font-size: x-large;
  text-align: center;
  line-height: 59px;
  border-radius: 0px 0px 0px 10px;

  background-color: #222;
  background-color: rgba(0, 0, 0, 0.8);
  color: #FFCC00;
  margin: 0px 0px;

  cursor: pointer;

  opacity: 1;


  will-change: opacity, top;
  -webkit-transition: opacity 1s 0.75s;
  -moz-transition: opacity 1s 0.75s;
  -ms-transition: opacity 1s 0.75s;
  -o-transition: opacity 1s 0.75s;
  transition: opacity 1s 0.75s;
}

.effeckt-ng-page-open-menu.effeckt-ng-page-menu-btn{
  -webkit-transition: opacity 0.3s, top 0.1s 0.3s;
  -moz-transition: opacity 0.3s, top 0.1s 0.3s;
  -ms-transition: opacity 0.3s, top 0.1s 0.3s;
  -o-transition: opacity 0.3s, top 0.1s 0.3s;
  transition: opacity 0.3s, top 0.1s 0.3s;
  opacity: 0;
  top: -100%;
}


/* ============================================
Menu Structure
   ============================================ */
.effeckt-ng-page-nav{
  position: absolute;

  top: 0px;
  left: -240px;

  width: 240px;
  height: 100%;
  z-index: 400;
}
.no-csstransforms3d .effeckt-ng-page-nav{
  left: -240px;
}
.no-csstransforms3d .effeckt-ng-page-open-menu .effeckt-ng-page-nav{
  left: 0px;
}



/* ============================================
Timing - Close Nav
   ============================================ */
.effeckt-ng-page-nav{
  will-change: opacity, transform;
  -webkit-transition: opacity 0.5s, -webkit-transform 0s 0.5s;
  -moz-transition: opacity 0.5s, -moz-transform 0s 0.5s;
  -ms-transition: opacity 0.5s, -ms-transform 0s 0.5s;
  -o-transition: opacity 0.5s, -o-transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s;
}
/* ============================================
Timing - Open Nav
   ============================================ */
.effeckt-ng-page-open-menu .effeckt-ng-page-nav{
  -webkit-transition: opacity 0.5s 0.75s;
  -moz-transition: opacity 0.5s 0.75s;
  -ms-transition: opacity 0.5s 0.75s;
  -o-transition: opacity 0.5s 0.75s;
  transition: opacity 0.5s 0.75s;
}


.effeckt-ng-page-nav{
  opacity: 0;
}
.effeckt-ng-page-open-menu .effeckt-ng-page-nav{
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
  filter: alpha(opacity=85);
  -moz-opacity: 0.85;
  -khtml-opacity: 0.85;
  opacity: 0.85;

  -webkit-transform: translate3d(100%,0,0);
  -moz-transform: translate3d(100%,0,0);
  -ms-transform: translate3d(100%,0,0);
  -o-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
}


/* ============================================
  MenuStyle
   ============================================ */
.effeckt-ng-page-nav {
  cursor: default;
  background-color: rgba(255, 204, 0, 0.93) !important;
  background-color: #FFCC00;
}

.effeckt-ng-page-nav ul {
  cursor: pointer;
  margin: 0;
  padding: 0;
  list-style: none;
}

.effeckt-ng-page-nav h2 {
  text-shadow: 0 0 1px rgba(0,0,0,0.1);
  margin: 0;
  padding: 1em;
  color: rgba(0, 0, 0, 1);
  font-weight: 200;
  font-size: x-large;
  text-align: right;
  /* outline: red solid 1px; */
}

.effeckt-ng-page-nav ul li a,
.effeckt-ng-page-nav ul li button{
  display: block;
  padding: 1em 1em 1em 1.2em;
  outline: none;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: right;
  text-decoration: none;
  box-shadow: inset 0 -1px rgba(0,0,0,0.2);
}

.effeckt-ng-page-nav ul li button{
  background: #FFCC00;
  width: 100%;
  border: 0px; 
}

.effeckt-ng-page-nav ul li:first-child * {
  box-shadow: inset 0 -1px rgba(0,0,0,0.2), inset 0 1px rgba(0,0,0,0.2);
}

html:not(.touch) .effeckt-ng-page-nav ul li a:hover,
.effeckt-ng-page-nav ul li a.active {
  background: rgba(0,0,0,0.2);
  box-shadow: inset 0 -1px rgba(0,0,0,0);
  color: #fff;
}


/* ============================================
  stagerring effect
 ============================================ */
.effeckt-ng-page-nav h2,
.effeckt-ng-page-nav ul li{
  will-change: transform, opacity;

  -webkit-transform: translateX(-50px);
  -moz-transform: translateX(-50px);
  -ms-transform: translateX(-50px);
  -o-transform: translateX(-50px);
  transform: translateX(-50px);
  opacity: 0;
}

.effeckt-ng-page-open-menu .effeckt-ng-page-nav h2,
.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li{
  opacity: 1;

  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  -o-transform: translate3d(0,0,0);

}

.effeckt-ng-page-nav h2,
.effeckt-ng-page-nav ul li{
  -webkit-transition: -webkit-transform 0s, opacity 0s;
  -moz-transition: -moz-transform 0s, opacity 0s;
  -ms-transition: -ms-transform 0s, opacity 0s;
  -o-transition: -o-transform 0s, opacity 0s;
  transition: transform 0s, opacity 0s;
}
.effeckt-ng-page-open-menu .effeckt-ng-page-nav h2,
.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li{
  -webkit-transition: -webkit-transform 0.5s, opacity 1s;
  -moz-transition: -moz-transform 0.5s, opacity  1s;
  -ms-transition: -ms-transform 0.5s, opacity  1s;
  -o-transition: -o-transform 0.5s, opacity  1s;
  transition: transform 0.5s, opacity  1s;
}


.effeckt-ng-page-open-menu .effeckt-ng-page-nav h2{
  -webkit-transition-delay: 1.25s;
  -moz-transition-delay: 1.25s;
  -ms-transition-delay: 1.25s;
  -o-transition-delay: 1.25s;
  transition-delay: 1.25s;
}


.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li:nth-child(1){
  -webkit-transition-delay: 1.35s;
  -moz-transition-delay: 1.35s;
  -ms-transition-delay: 1.35s;
  -o-transition-delay: 1.35s;
  transition-delay: 1.35s;
}

.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li:nth-child(2){
  -webkit-transition-delay: 1.45s;
  -moz-transition-delay: 1.45s;
  -ms-transition-delay: 1.45s;
  -o-transition-delay: 1.45s;
  transition-delay: 1.45s;
}

.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li:nth-child(3){
  -webkit-transition-delay: 1.55s;
  -moz-transition-delay: 1.55s;
  -ms-transition-delay: 1.55s;
  -o-transition-delay: 1.55s;
  transition-delay: 1.55s;
}

.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li:nth-child(4){
  -webkit-transition-delay: 1.65s;
  -moz-transition-delay: 1.65s;
  -ms-transition-delay: 1.65s;
  -o-transition-delay: 1.65s;
  transition-delay: 1.65s;
}


.effeckt-ng-page-open-menu .effeckt-ng-page-nav ul li:nth-child(5){
  -webkit-transition-delay: 1.3s;
  -moz-transition-delay: 1.3s;
  -ms-transition-delay: 1.3s;
  -o-transition-delay: 1.3s;
  transition-delay: 1.3s;
}


$effeckt-off-screen-navigation-list-item-amount : 5;


@mixin minimize-reveal-list-items-hidden {
  li, h4 {
    transition: $effeckt-off-screen-navigation-transition-duration  cubic-bezier(.16,.86,.33,.97);
    transform: translateX(5%);
    opacity: 0;
  }
}

@mixin minimize-reveal-list-items-fade {
  transform: translateX(0);
  opacity: 1;
}

@mixin minimize-reveal-list-items-shown {
  h4 {
    @include minimize-reveal-list-items-fade();
    //fade in header first.
    transition-delay: $effeckt-off-screen-navigation-transition-duration;
  }
  @for $i from 1 through $effeckt-off-screen-navigation-list-item-amount {
    li:nth-child(#{$i}) {
      @include minimize-reveal-list-items-fade();
      //wait until the header has finished
      transition-delay: $effeckt-off-screen-navigation-transition-duration * 2 + $effeckt-off-screen-navigation-transition-duration * $i * 0.25;
    }
  }
}





/* ============================================
  ScrollBar
   ============================================ */
/*
::-webkit-scrollbar {
  width: 5px;
  position: absolute;
  top: 0;
  right: 0;
}

::-webkit-scrollbar-track {
  border-radius: 0px;
  background-color: #DADADA;
}

::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background-color: #FFCC00;
  border: #EEBE00 solid 1px;
}
*/

.no-csstransforms3d .effeckt-ng-page-container.effeckt-ng-page-open-menu,
.no-js .effeckt-ng-page-container.effeckt-ng-page-open-menu {
    padding-left: 300px;
}


html.lt-ie9{
  overflow-y: scroll;
}

.no-csstransforms3d .effeckt-ng-page-lock-scroll.effeckt-ng-page-container::after,
.no-js .effeckt-ng-page-lock-scroll.effeckt-ng-page-container::after{
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 300;

  display: block;
  width: 100%;
  height: 100%;

  opacity: 0.5s;
  background-color: rgba(0,0,0,0.2);
}



.lt-ie9 .container,
.lt-ie8 .container,
.lt-ie7 .container{
  width: 960px;
}


.page{
  width: 100%;
  height: 100%;
  background-color: rgba(gold, 0.5);
}
.page-2{
  background-color: rgba(lime, 0.5);
}

/*


*/



              
            
!

JS

              
                //youApp.js
angular
  .module('yourApp', [
    'ngEffeckt'
  ])
.config(function ($routeProvider) {
    $routeProvider
      .when('/', {
        templateUrl: 'views/page1.html',
        controller: 'MainCtrl'
      })
      .when('/page2', {
        templateUrl: 'views/page2.html',
        controller: 'CvCtrl'
      })
      .otherwise({
        redirectTo: '/'
      });
  });

//ngEffeckt.js
angular
  .module('ngEffeckt', [
    'ngTouch',
    'ngAnimate',
    'ngRoute'
  ]);


/* global classie,Modernizr */
angular.module('ngEffeckt')

.factory('Mediator', function(){
	//http://carldanley.com/js-mediator-pattern/
	function Mediator() {
		this._topics = {};
		//topics = { 'myevent': [listnersFn1,listnersFn2] }
	}
	Mediator.prototype.subscribe = function mediatorSubscribe( topic, callback ) {
		if( ! this._topics.hasOwnProperty( topic ) ) {
			this._topics[ topic ] = [];
		}
		this._topics[ topic ].push( callback );
		return true;
	};

	Mediator.prototype.unsubscribe = function mediatorUnsubscrive( topic, callback ) {
		if( ! this._topics.hasOwnProperty( topic ) ) {
			return false;
		}

		for( var i = 0, len = this._topics[ topic ].length; i < len; i++ ) {
			if( this._topics[ topic ][ i ] === callback ) {
				this._topics[ topic ].splice( i, 1 );
				return true;
			}
		}

		return false;
	};

	Mediator.prototype.publish = function mediatorPublish() {
		var args = Array.prototype.slice.call( arguments );
		var topic = args.shift();

		if( ! this._topics.hasOwnProperty( topic ) ) {
			return false;
		}

		for( var i = 0, len = this._topics[ topic ].length; i < len; i++ ) {
			this._topics[ topic ][ i ].apply( null, args );
		}
		return true;
	};

	return Mediator;
})

.factory('offNavMediator',function(Mediator){

	function OffNavMediator(){
		Mediator.call(this);

	}
	OffNavMediator.prototype = Object.create(Mediator.prototype);

	var self = new OffNavMediator();

	return self;
})

.factory('_doTransEnd', function () {
	function _doTransEnd(element, endFn, maxTime){
		var doneTsk = false;
		var _handleTransitionEnd = function (evt){
			if (!doneTsk){
				doneTsk = true;
				endFn(evt);
				element.removeEventListener('transitionend',_handleTransitionEnd);
			}
		};
		// safynet if the tranns event is not fired.
		setTimeout(function cbEndFn(){
			if (!doneTsk){
				doneTsk = true;
				endFn(null);
				element.removeEventListener('transitionend',_handleTransitionEnd);
			}
		}, maxTime || 1500);
		element.addEventListener('transitionend',_handleTransitionEnd,false);
	}
	return _doTransEnd;
})

.factory('isMobile', function () {

	function iosCheck() {
		// http://coveroverflow.com/a/11381730/989439
		var check = false;
		var userAgent = navigator.userAgent||navigator.vendor||window.opera;
		if(userAgent.toLowerCase().match(/(ipad|iphone|ipod)/g)){
			check = true;
		}
		return check;
	}
	var isIOS = iosCheck();
	if (isIOS){
		classie.addClass(document.documentElement, 'ios');
	}

	function androidCheck(){
		var check = false;
		var userAgent = navigator.userAgent||navigator.vendor||window.opera;
		if(userAgent.toLowerCase().indexOf('android') > -1){
			check = true;
		}
		return check;
	}
	var isAndroid = androidCheck();
	if (isAndroid){
		classie.addClass(document.documentElement, 'android');
	}



	function mobileCheck() {
		var check = false;
		(function(a){
			if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))){
				check = true;
			}
		})(navigator.userAgent||navigator.vendor||window.opera);
		return check;
	}

	var isMobile = mobileCheck();


	if (isIOS){
		isMobile = true;
	}

	if (!isMobile){
		classie.addClass(document.documentElement, 'desktop');
	}else{
		classie.addClass(document.documentElement, 'mobile');
	}

	return isMobile;
})

.factory('clickEvent', function (isMobile) {
	return isMobile ? 'touchstart' : 'click';
})
.factory('mouseupEvent', function (isMobile) {
	return isMobile ? 'touchend' : 'click';
})
// .animation('.effeckt-ng-page-3d-flip', function() {
// 	return {
// 		enter : function(element, done) {
// 			element.css('opacity',0);
// 			jQuery(element).animate({
// 				opacity: 1
// 			}, done);

// 			// optional onDone or onCancel callback
// 			// function to handle any post-animation
// 			// cleanup operations
// 			return function(isCancelled) {
// 				if(isCancelled) {
// 					jQuery(element).stop();
// 				}
// 			};
// 		},
// 		leave : function(element, done) {
// 			element.css('opacity', 1);
// 			jQuery(element).animate({
// 				opacity: 0
// 			}, done);

// 			// optional onDone or onCancel callback
// 			// function to handle any post-animation
// 			// cleanup operations
// 			return function(isCancelled) {
// 				if(isCancelled) {
// 					jQuery(element).stop();
// 				}
// 			};
// 		}
// 	};
// })
.directive('effecktNgPageContainer', function (clickEvent, offNavMediator, _doTransEnd) {

	var _hasParentClass = function ( eTarget, classname ) {
		if(eTarget === document){ return false; }
		if( classie.has( eTarget, classname ) ) {
			return true;
		}
		return eTarget.parentNode && _hasParentClass( eTarget.parentNode, classname );
	};

	var _onClosePage = function(evt){
		if (!_hasParentClass(evt.target, 'effeckt-ng-page-nav')){
			offNavMediator.publish('page:close');
		}
	};

	return {
		restrict: 'C',
		controller: function ($scope, $element) {
			var _onOpenMenu = function(){
				console.log('page:open:menu');

				$element.addClass('effeckt-ng-page-lock-scroll');



				setTimeout(function (){
					$element.addClass('effeckt-ng-page-open-menu');
				},5);

				_doTransEnd($element[0], function _cbmMakePageCloseBtn(){
					$element[0].addEventListener(clickEvent, _onClosePage,true);
				},1000);

			};


			var _onCloseMenu = function(){
				console.log('page:close');

				$element.removeClass('effeckt-ng-page-open-menu');


				_doTransEnd($element[0], function _cbmMakePageCloseBtn(){
					$element.removeClass('effeckt-ng-page-lock-scroll');
				},800);

				$element[0].removeEventListener(clickEvent, _onClosePage, true);
			};

			offNavMediator.subscribe('page:open', _onOpenMenu);
			offNavMediator.subscribe('page:close', _onCloseMenu);


			$scope.$on('$destroy',function(){
				offNavMediator.unsubscribe('page:open', _onOpenMenu);
				offNavMediator.unsubscribe('page:close', _onCloseMenu);
			});


			$scope.offNavMediator = offNavMediator;

			$scope.swipeOpenMenu = function(){
				console.log('swipeOpenMenu');
				if (Modernizr.touch){
					offNavMediator.publish('page:open');
				}
			};

		}
	};
})

.directive('effecktNgPageNavTrigger', function (clickEvent, offNavMediator) {

	return {
		restrict: 'C',
		controller: function ($scope, $element) {

			var _onClickMenuBtn = function(){
				offNavMediator.publish('page:open');
			};

			$element[0].addEventListener(clickEvent, _onClickMenuBtn,true);

			offNavMediator.publish('page:open');

			// $element[0].addEventListener('mouseover',_onClickMenuBtn);
		}
	};
})
.directive('effecktNgPageMenuBtn', function (clickEvent, offNavMediator) {

	return {
		restrict: 'C',
		controller: function ($scope, $element) {

			var _onOpenMenu = function(){
				console.log('page:open:menu-btn');
				$element.addClass('effeckt-ng-page-open-menu');
			};

			var _onCloseMenu = function(){
				console.log('page:close:menu-btn');
				$element.removeClass('effeckt-ng-page-open-menu');
			};

			offNavMediator.subscribe('page:open', _onOpenMenu);
			offNavMediator.subscribe('page:close', _onCloseMenu);

			var _onClickMenuBtn = function(){
				offNavMediator.publish('page:open');
			};

			$element[0].addEventListener(clickEvent, _onClickMenuBtn,true);

			$scope.$on('$destroy',function(){
				$element[0].removeEventListener(clickEvent, _onClickMenuBtn);
			});

		}
	};
})

.directive('effecktNgPageMenuBtnClose', function (clickEvent, offNavMediator) {
	return {
		restrict: 'C',
		controller: function ($scope, $element) {
			//close button
			var _onClickMenuBtnClose = function(){
				offNavMediator.publish('page:close');
			};
			$element[0].addEventListener(clickEvent, _onClickMenuBtnClose,true);
			$scope.$on('$destroy',function(){
				$element[0].removeEventListener(clickEvent, _onClickMenuBtnClose);
			});
		}
	};
})
.directive('effecktNgPageNav', function (mouseupEvent) {
	function _makeLinkFaster(evt) {
		//delegate
		if(evt.target && evt.target.nodeName === 'A' && evt.target.href && !!!evt.target.attributes.closebtn) {
			evt.preventDefault();
			evt.stopPropagation();
			window.location.assign(evt.target.href);
		}
	}
	return {
		restrict: 'C',
		controller: function ($scope, $element) {
			$element[0].addEventListener(mouseupEvent, _makeLinkFaster,true);
			$scope.$on('$destroy',function(){
				$element[0].removeEventListener(mouseupEvent, _makeLinkFaster);
			});
		},
	};
})
.directive('activeLink', function ($location) {
	return {
		//http://jsfiddle.net/p3ZMR/3/
		restrict: 'A',
		link: function(scope, element, attrs) {
			var activeClass = attrs.activeLink;

			var ngHref = element.attr('ng-href');
			var href = element.attr('href');

			var path = href || ngHref;


			//detelte hashbang
			if (path.indexOf('#') === 0){
				path = path.substring(1);
			}

			//activeLink
			scope.location = $location;
			scope.$watch('location.path()', function(newPath) {

				if (newPath.indexOf('#') !== -1){
					newPath = newPath.substring(1);
				}

				if (path === newPath) {
					element.addClass(activeClass);
				} else {
					element.removeClass(activeClass);
				}
			});

		}
	};
});




              
            
!
999px

Console