hcard (vcard) 2-column Styling


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

Styling of the hcard (vcard) HTML snippet


Copy this code and paste it in your HTML
  1. .vcard {
  2. font: 1em/1.5em "Baskerville", "Linotype Palatino", Times, Georgia, "Times New Roman", serif;
  3. margin-top: 1.5em;
  4. margin-bottom: 1.5em;
  5. width: 250px;
  6. }
  7.  
  8. .vcard ul {font: 1em/1.5em "Baskerville", "Linotype Palatino", Times, Georgia, "Times New Roman", serif;}
  9.  
  10. .fn {
  11. font-size: 1.25em;
  12. font-style: italic;
  13. letter-spacing: 0.05em;
  14. margin-bottom: 0.25em;
  15. }
  16.  
  17. .communication {float: right;}
  18.  
  19. .numbers {font-family: Georgia, serif; font-size: 0.875em;}
  20.  
  21. #vcard-download {font-size: 0.75em;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.