Skip to content

Instantly share code, notes, and snippets.

@mlpassos
Created July 21, 2013 15:35
Show Gist options
  • Save mlpassos/6048895 to your computer and use it in GitHub Desktop.
Save mlpassos/6048895 to your computer and use it in GitHub Desktop.
Untitled
:target {
-webkit-animation: target-fade 3s 1;
-moz-animation: target-fade 3s 1;
}
@-webkit-keyframes target-fade {
0% { background-color: rgba(0,0,0,.1); }
100% { background-color: rgba(0,0,0,0); }
}
@-moz-keyframes target-fade {
0% { background-color: rgba(0,0,0,.1); }
100% { background-color: rgba(0,0,0,0); }
}
.link {text-decoration:none;}
<a href="#1" class="link">Link</a>
<a href="#2" class="link">Link 2</a>
<a href="#3" class="link">Link 3</a>
<p id="1">Paragraph 1</p>
<p id="2">Paragraph 2</p>
<p id="3">Paragraph 3</p>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment