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.

46 lines
598 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. /**
  2. * align
  3. *
  4. * - text
  5. * - floating for elements
  6. * - centering with margin
  7. *
  8. * @author Björn Hase
  9. *
  10. */
  11. @mixin crispy-boilerplate-align() {
  12. .--text-left {
  13. text-align: left;
  14. }
  15. .--text-right {
  16. text-align: right;
  17. }
  18. .--text-center {
  19. text-align: center;
  20. }
  21. .--text-justify {
  22. text-align: justify;
  23. }
  24. .--float-left {
  25. float: left;
  26. }
  27. .--float-right {
  28. float: right;
  29. }
  30. .--float-none {
  31. float: none;
  32. }
  33. .--centered {
  34. margin-left: auto;
  35. margin-right: auto;
  36. }
  37. }