Skip to content

Instantly share code, notes, and snippets.

Created June 5, 2012 10:24
Show Gist options
  • Save anonymous/2874240 to your computer and use it in GitHub Desktop.
Save anonymous/2874240 to your computer and use it in GitHub Desktop.
Untitled
a {
display: block;
margin-top: 6px;
color: #000;
text-decoration: none;
}
a[href$=".doc"]:after {
content: " (doc)";
}
a[href$=".xls"]:after {
content: " (xls)";
}
a[href$=".pdf"]:after {
content: " (pdf)";
}
<a href="nimp.pdf">inscription 2012</a>
<a href="loule.doc">mon CV</a>
<a href="1337.doc">prévisionnel 2022</a>
<a href="foo.xls">tableau comparatif</a>
<a href="kiwi.pdf">élevage de kiwis</a>
<a href="nimp2.pdf">inscription 2013</a>
<a href="loule.doc">mon CV de l'an dernier</a>
<a href="1337.doc">prévisionnel 2023</a>
<a href="foo.xls">autre tableau comparatif</a>
<a href="kiwi.pdf">domptage de kiwis</a>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment