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($) { | |
'use strict'; | |
$(document).ready(function(){ | |
// 60fps scrolling | |
// see: http://www.thecssninja.com/javascript/pointer-events-60fps | |
var body = document.body, | |
timer; | |
window.addEventListener('scroll', function() { |
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
" vim:fdm=marker | |
" .vimrc | |
" v.0.2.0 - 28.10.2014 by Florenz Heldermann | |
" Based on the beginners vimrc by Philip Trasher | |
" | |
set nocompatible " Fuck VI... That's for grandpas. | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim |
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
/* jshint node:true */ | |
'use strict'; | |
// Load Gulp | |
var gulp = require('gulp'), | |
runSequence = require('run-sequence'); | |
// Load plugins | |
var $ = require('gulp-load-plugins')(); |
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
@mixin opacity($value) | |
opacity: #{"." + $value} | |
filter: alpha(opacity=$value) | |
-ms-filter: "alpha(opacity=$value)" | |
-khtml-opacity: #{"." + $value} | |
-webkit-opacity: #{"." + $value} | |
-moz-opacity: #{"." + $value} | |
.opacity | |
@include opacity(80) |
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
$('#toggleReiseziele').click(function(){ | |
if($(this).hasClass('toggleUp')){ | |
$('#footer').animate({height:'500'},'slow'); | |
}else{ | |
$('#footer').animate({height:'200'},'slow'); | |
} | |
$('#toggleReiseziele').toggleClass('toggleUp'); | |
}); |
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, body').animate({ | |
scrollTop: $(‘#element’).offset().top | |
}, 2000); |
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
<snippet> | |
<content><![CDATA[ | |
<img src="http://placehold.it/${1:100}x${2:100}" alt="${3:Alt text}"/> | |
]]></content> | |
<tabTrigger>dummy</tabTrigger> | |
</snippet> |
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
.label{ | |
display: inline-block; | |
position: relative; | |
text-transform: uppercase; | |
text-decoration: none; | |
color: white; | |
&:visited{color: @white;} | |
} |
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
"C:\path\to\chrome.exe" --allow-file-access-from-files |
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
<!-- Live Reload für Less --> | |
<script type="text/javascript" charset="utf-8"> | |
less.env = "development"; | |
less.watch(); | |
</script> |
OlderNewer