Skip to content

Utility classes for CSS spacing traits

License

Notifications You must be signed in to change notification settings

segment-boneyard/utils-space

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUIT utilities: space

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

Read more about SUIT's design principles.

Installation

  • Bower: bower install --save suit-utils-space
  • Download: zip
  • Git: git clone https://github.com/necolas/suit-utils-space.git

Available classes

  • u-margin<D><s> - Margin of size s in the direction D.
  • u-padding<D><s> - 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

Browser support

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

About

Utility classes for CSS spacing traits

Resources

License

Stars

Watchers

Forks

Packages

No packages published