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.

_floats.css 1013B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. FLOATS
  3. http://tachyons.io/docs/layout/floats/
  4. 1. Floated elements are automatically rendered as block level elements.
  5. Setting floats to display inline will fix the double margin bug in
  6. ie6. You know... just in case.
  7. 2. Don't forget to clearfix your floats with .cf
  8. Base:
  9. f = float
  10. Modifiers:
  11. l = left
  12. r = right
  13. n = none
  14. Media Query Extensions:
  15. -ns = not-small
  16. -m = medium
  17. -l = large
  18. */
  19. .fl { float: left; _display: inline; }
  20. .fr { float: right; _display: inline; }
  21. .fn { float: none; }
  22. @media (--breakpoint-not-small) {
  23. .fl-ns { float: left; _display: inline; }
  24. .fr-ns { float: right; _display: inline; }
  25. .fn-ns { float: none; }
  26. }
  27. @media (--breakpoint-medium) {
  28. .fl-m { float: left; _display: inline; }
  29. .fr-m { float: right; _display: inline; }
  30. .fn-m { float: none; }
  31. }
  32. @media (--breakpoint-large) {
  33. .fl-l { float: left; _display: inline; }
  34. .fr-l { float: right; _display: inline; }
  35. .fn-l { float: none; }
  36. }