This module has been moved to the monorepo wocss (and renamed to
@wocss/utilities-basscss
)
Utility
The wocss-utilities-basscss
module contains a port of BassCSS library using wocss
variables and the BEMIT naming convention.
Install using npm:
$ npm install wocss-utilities-basscss --save
With a tool like webpack you can import all modules writing:
@import '~wocss-utilities-basscss';
or import only that you need:
@import '~wocss-utilities-basscss/src/utilities.hide';
@import '~wocss-utilities-basscss/src/utilities.show';
-
NOTE: Here we have extra utilities classes. e.g.:
u-bg-primary
-
NOTE: Here we have extra utilities classes. e.g.:
u-color-primary
-
NOTE: There is a
u-flex-fit
(it can shrink to 0 width) andu-flex-auto
(it can shrink to content width) -
NOTE: There is not
max-width
utilities. (check wocss-objects-wrapper) -
Use these utilities to conditionally show elements based on viewport width.
-
NOTE: The
font-size
utilities has a extra namespace ('fz'
). e.g.:.u-fz-h1
-
NOTE: The
font-weight
utilities has a extra namespace ('fw'
). e.g.:.u-fw-regular