18F/18f.gsa.gov

View on GitHub
_sass/_libs/uswds/scss/utilities/rules/clearfix.scss

Summary

Maintainability
Test Coverage
/*
========================================
.clearfix
----------------------------------------
usage:
  .clearfix
----------------------------------------
example:
  .clearfix::after {
    clear: both;
    content: "";
    display: block; }
----------------------------------------
*/

$u-clearfix: (
  clearfix: (
    base: "clearfix::after",
    modifiers: null,
    values: (
      reset: (
        slug: "noValue",
        isReadable: false,
        content: "both",
        extend: (
          "content": '""',
          "display": "block"
        )
      )
    ),
    settings: $clearfix-settings,
    property: "clear",
    type: "utility"
  )
);