Skip to content

Instantly share code, notes, and snippets.

@volkanozcan
volkanozcan / my.css
Created February 1, 2016 11:40 — forked from anonymous/my.css
CSS Gradient Animation
background: linear-gradient(178deg, #05668d, #028090, #00a896, #02c39a, #f0f3bd);
background-size: 1000% 1000%;
-webkit-animation: AnimationName 30s ease infinite;
-moz-animation: AnimationName 30s ease infinite;
-o-animation: AnimationName 30s ease infinite;
animation: AnimationName 30s ease infinite;
@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
@volkanozcan
volkanozcan / canvas.css
Last active August 29, 2015 14:16 — forked from volqii/canvas.css
css:fullscreenCanvas
html, body {
width: 100%;
height: 100%;
margin: 0px;
overflow:hidden;
}
body {
background-image: url("/gradient.jpg");
background-size:cover
}
@volkanozcan
volkanozcan / gist:b75eca9d014bef53274c
Last active August 29, 2015 14:16 — forked from volqii/gist:7930668
javascript:unknown
function foo(a, b)
{
a = typeof a !== 'undefined' ? a : 42;
b = typeof b !== 'undefined' ? b : 'default_b';
}
@volkanozcan
volkanozcan / gist:271fa484d9b515f8e5ea
Last active August 29, 2015 14:16 — forked from volqii/gist:7936526
javascript:random
function rastgele (x,y) {
/*x ten y'ye kadar rastgele sayı ver*/
return ~~(Math.random() * y) + x;
}