@citizensadvice/clearfix

1.0.3 • Public • Published

Clearfix npm (scoped)

The clearfix is a way to contain floats without resorting to using presentational markup.

Classes

Class name
.clearfix

Examples

<div class="clearfix">
  <div class="float-left">...</div>
  <div class="float-right">...</div>
</div>

Installation

$ npm install @citizensadvice/clearfix

now import into your stylesheet...

@import '@citizensadvice/clearfix/index.scss';

You can also make use of the unpkg service, try adding the link below to the head of your HTML file

<link src="https://unpkg.com/@citizensadvice/clearfix@latest/build/clearfix.css" />

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @citizensadvice/clearfix

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.17 kB

    Total Files

    6

    Last publish

    Collaborators

    • cnorthwoodcita
    • seymourski
    • marianayovcheva
    • mrdaniellewis
    • davidsauntson
    • davidrapson