This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
$(document).ready(function () { | |
// Scroll Variables (tweakable) | |
var framerate = 150; // [Hz] 150 | |
var animtime = 600; // [px] 400 | |
var stepsize = 150; // [px] 120 | |
// Pulse (less tweakable) | |
// ratio of "tail" to "acceleration" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript">//<![CDATA[ | |
$(function(){ | |
function onScrollInit( items, trigger ) { | |
items.each( function() { | |
var osElement = $(this), | |
osAnimationClass = osElement.attr('data-os-animation'), | |
osAnimationDelay = osElement.attr('data-os-animation-delay'); | |
osElement.css({ | |
'-webkit-animation-delay': osAnimationDelay, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//modal start | |
button(type='button' class='btn btn-lg' data-toggle="modal" data-target="#myModal") Launch demo modal | |
.modal.fade#myModal(tabindex="-1" role="dialog" aria-labelledby="myModalLabel") | |
.modal-dialog | |
.modal-content | |
.modal-header | |
button.close(type="button" data-dismiss="modal" aria-label="Close") | |
span(aria-hidden="true") × | |
h4.modal-title#myModalLabel Modal title |