Created
June 5, 2012 10:33
-
-
Save geoffreycrofte/2874305 to your computer and use it in GitHub Desktop.
Bug fix for Chrome attribute selector
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
/** | |
Bug fix for Chrome attribute selector | |
A @goetter bug report | |
*/ | |
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)"; | |
} | |
/* bug fixe for Chrome */ | |
a[href] { font-size: 1em; } |
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
<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> |
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
{"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