General Styling Markup


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

This is basically the top few lines of every CSS document I start with, just the basic selectors, no specific elements at this point in time. I like to place a general styling for almost every type of tag in my document so that as I later style my HTML I can be sure that my entire document is using the same font family. Later in the document I place more emphasis on individual styling for each element.


Copy this code and paste it in your HTML
  1. body{
  2. background: ;
  3. font: ;
  4. margin: ;
  5. }
  6. h1,h2,h3{
  7. font: ;
  8. margin: ;
  9. }
  10. h4,h5,h6{
  11. font: ;
  12. margin: ;
  13. }
  14. p{
  15. font: ;
  16. }
  17. strong{
  18. font: ;
  19. }
  20. span{
  21. font: ;
  22. }
  23. a,a:visited{
  24. font: ;
  25. text-decoration: ;
  26. }
  27. a:hover{
  28. font: ;
  29. }

URL: http://kevh.net

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.