Highlight links to PDF and Word files


/ Published in: CSS
Save to your folder(s)

señala si es pdf o doc el enlace


Copy this code and paste it in your HTML
  1. a[href$="pdf"]:after,
  2. a[href$="doc"]:after {
  3. margin:0 0 0 5px;
  4. font:bold 12px "Lucida Grande";
  5. content: " (PDF)";
  6. }
  7. a[href$=".doc"]:after {content: " (DOC)";}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.