cahnory

PlastiCSS — quick global scope styling (input)

Mar 25th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.55 KB | None | 0 0
  1. /* Global scope */
  2. // !Document
  3. .fix();
  4. html, body {
  5.   margin: 0;
  6.   padding: 0;
  7. }
  8. html { .font(html) }
  9. body { .font(body) }
  10.  
  11. // !Headings
  12. h, .h { .flow-heads() }
  13.  
  14. // !Current text
  15. p,
  16. ul,
  17. ol,
  18. dl,
  19. blockquote,
  20. pre,
  21. td,
  22. th,
  23. caption,
  24. details,
  25. figure,
  26. hgroup { .flow() }
  27.  
  28. // !Images
  29. img { .size(auto) }
  30. a img { border: none }
  31.  
  32. // !Abbr
  33. abbr[title], acronym[title] {
  34.   cursor: help;
  35.   border-bottom: dotted 1px;
  36. }
  37. .vcard abbr {
  38.   cursor: text;
  39.   border-bottom: none;
  40. }
  41.  
  42. // !Forms
  43. label,
  44. input,
  45. textarea {
  46.   font-size: 1em;
  47. }
Advertisement
Add Comment
Please, Sign In to add comment