Package Exports
- suitcss-utils-space
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (suitcss-utils-space) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
SUIT utilities: space
A SUIT collection of utility classes for low-level CSS spacing traits.
Read more about SUIT's design principles.
Installation
- npm:
npm install --save suitcss-utils-space
Available classes
u-margin<D><s>
- Margin of sizes
in the directionD
.u-padding<D><s>
- Padding of sizes
in directionD
.
Where direction (D
) can be:
A
- allT
- topR
- rightB
- bottomL
- leftH
- horizontalV
- vertical
And size (s
) can be:
n
- noneb
- babys
- smallm
- mediuml
- largeg
- gigantic
Usage
available vars:
--space-n: 0;
--space-b: .125rem;
--space-s: .25rem;
--space-m: .5rem;
--space-l: 1rem;
--space-g: 1.5rem;
Please refer to the README for SUIT utils