Created
July 14, 2012 23:29
-
-
Save while0pass/3113857 to your computer and use it in GitHub Desktop.
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
@media print { | |
/* Append the address of the link */ | |
a[href]:after { | |
content: " (" attr(href) ")"; | |
/* break long urls that don't fit the page width [http://www.w3.org/TR/css3-text/] */ | |
word-break: break-all; | |
overflow-wrap: break-word; | |
} | |
a[href^="javascript:"]:after, | |
a[href^="#"]:after { content: "" } | |
/* Append the expansion of the abbriviation */ | |
abbr[title]:after { content: " (" attr(title) ")" } | |
/* Append the source of the citation */ | |
q:after { content: " [" attr(cite) "]" } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment