@use "../tokens/base";

// -- Nicolas Gallagher's micro clearfix
@mixin clearfix {
  &::before,
  &::after {
    // For modern browsers
    content: "";
    display: table;
  }

  &::after {
    clear: both;
  }
}

/**
 * Resets margin-bottom of the last child to zero
 */
@mixin reset-last-child-margin-bottom {
  > :not([class*="mb\-"]):last-child {
    margin-bottom: 0;
  }
}
