×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
1
Language: CSS
Posted by: Philip Rehberger
Added: Sep 14, 2016 12:09 AM
Views: 5
Tags: no tags
  1. /* external links */
  2. a[href^="http://"] {
  3.     padding-right: 13px;
  4.     background: url('external.gif') no-repeat center right;
  5. }
  6.  
  7. /* emails */
  8. a[href^="mailto:"] {
  9.     padding-right: 20px;
  10.     background: url('email.png') no-repeat center right;
  11. }
  12.  
  13. /* pdfs */
  14. a[href$=".pdf"] {
  15.     padding-right: 18px;
  16.     background: url('acrobat.png') no-repeat center right;
  17. }