Lightweight CSS Framework for Building Apps and Websites https://crispy-css.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
611 B

7 years ago
7 years ago
7 years ago
7 years ago
  1. @import
  2. '../functions/units';
  3. /**
  4. * normalize
  5. *
  6. *
  7. * @author Björn Hase
  8. *
  9. */
  10. $normalize__margin: 0 0 pxToEm(20px) !default;
  11. @mixin crispy-boilerplate-normalize {
  12. html {
  13. font-size: 100%;
  14. }
  15. body,
  16. html {
  17. height: 100%;
  18. }
  19. html,
  20. legend {
  21. box-sizing: border-box;
  22. }
  23. *,
  24. *::after,
  25. *::before {
  26. box-sizing: inherit;
  27. }
  28. table {
  29. border-collapse: collapse;
  30. border-spacing: 0;
  31. }
  32. p {
  33. margin: $normalize__margin;
  34. }
  35. ul, ol, dl {
  36. margin: $normalize__margin;
  37. }
  38. @content;
  39. }