a881575a6355fb70ad1911f1a74e92ea7636d4072dfa1d10c3d7a5a177b40478300774644e3546fb1d800817b740230c3351abc49bade7060b2e917ab54b0e 605 B

12345678910111213141516171819202122
  1. // Clearfix
  2. //
  3. // For modern browsers
  4. // 1. The space content is one way to avoid an Opera bug when the
  5. // contenteditable attribute is included anywhere else in the document.
  6. // Otherwise it causes space to appear at the top and bottom of elements
  7. // that are clearfixed.
  8. // 2. The use of `table` rather than `block` is only necessary if using
  9. // `:before` to contain the top-margins of child elements.
  10. //
  11. // Source: http://nicolasgallagher.com/micro-clearfix-hack/
  12. .clearfix() {
  13. &:before,
  14. &:after {
  15. display: table; // 2
  16. content: " "; // 1
  17. }
  18. &:after {
  19. clear: both;
  20. }
  21. }