Skip to content

Instantly share code, notes, and snippets.

@karimabdul
karimabdul / skipdrop
Last active August 29, 2015 14:06
Gumby Framework Skip Link and Close Dropdown menu
<script>
$(document).ready(function(){
$(".skip").click(function(){
$("#dropped").removeClass("active");
});
});
</script>
@karimabdul
karimabdul / preventor
Created February 25, 2015 16:33
Email scraping prevention js
<a href="name [at] domain.com"
rel="nofollow"
onclick="this.href='mailto:' + 'name' + '@' + 'domain.com'">Contact me</a>
@karimabdul
karimabdul / grador
Created March 31, 2015 17:18
Gradiant Animation
background: linear-gradient(223deg, #39dbb1, #56a3fd);
background-size: 400% 400%;
-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:92% 0%}
50%{background-position:9% 100%}
100%{background-position:92% 0%}
@karimabdul
karimabdul / index.html
Last active December 17, 2015 02:52
Change page title
<html>
<head>
<title>What?</title>
<script>
window.onblur = function () {
document.title = 'What?';
}
<img src="http://www.google.com/s2/favicons?domain_url=http%3A%2F%2Fwww.vice.com%2F"/>