Miss any of our Open RFC calls?Watch the recordings here! »

@wocss/utilities-widths

1.0.5 • Public • Published

WIDTHS

Utility

The @wocss/utilities-widths generates a series of utility classes that give a fluid width to whichever element they’re applied. These classes are most commonly used in conjunction with the @wocss/objects-grid module,

Install using npm:

$ npm install @wocss/utilities-widths --save

Usage

With a tool like webpack you can import this module writing:

@import '~@wocss/utilities-widths';

All classes might be suffixed with @[mobile|tablet|laptop] by default, see the @wocss/settings-breakpoints.

e.g.:

<div class="u-6/12 u-8/12@tablet"></div>

Install

npm i @wocss/utilities-widths

DownloadsWeekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

3.68 kB

Total Files

4

Last publish

Collaborators

  • avatar