An open API service indexing awesome lists of open source software.

https://github.com/jaredhanson/suitcss-utils-space

Utility classes for low-level CSS spacing traits
https://github.com/jaredhanson/suitcss-utils-space

Last synced: 10 months ago
JSON representation

Utility classes for low-level CSS spacing traits

Awesome Lists containing this project

README

          

# SUIT utilities: space

A SUIT collection of utility classes for low-level CSS spacing traits.

Read more about [SUIT's design principles](https://github.com/necolas/suit/).

## Installation

* [Bower](http://bower.io/): `bower install --save suit-utils-space`
* Download: [zip](https://github.com/necolas/suit-utils-space/zipball/master)
* Git: `git clone https://github.com/necolas/suit-utils-space.git`

## Available classes

* `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
* `s` - small
* `m` - medium
* `l` - large

## Usage

Please refer to the README for [SUIT utils](https://github.com/necolas/suit-utils/)

## Browser support

* Google Chrome (latest)
* Opera (latest)
* Firefox 4+
* Safari 5+
* Internet Explorer 8+