Utility classes for low-level CSS spacing traits
npm install suitcss-utils-spaceA SUIT collection of utility classes for low-level CSS spacing traits.
Read more about SUIT's design principles.
* npm: npm install --save suitcss-utils-space
* u-margin - Margin of size s in the direction D.
* u-padding - Padding of size s in direction D.
Where direction (D) can be:
* A - all
* T - top
* R - right
* B - bottom
* L - left
* H - horizontal
* V - vertical
And size (s) can be:
* n - none
* b - baby
* s - small
* m - medium
* l - large
* g - gigantic
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