Find file History
Latest commit b4f2b26 Feb 13, 2016 @jxnblk jxnblk Add prepublish script

README.md

Basscss Responsive Padding

Responsive padding utilities module for Basscss - http://basscss.com

Padding utilities are based on a global white space scale defined with variables. These utilities use a shorthand naming convention.

Naming Convention

Shorthand Description
m Margin
p Padding
t Top
r Right
b Bottom
l Left
x X-axis (left and right)
y Y-axis (top and bottom)
1 --space-1 (default .5rem)
2 --space-2 (default 1rem)
3 --space-3 (default 2rem)
4 --space-4 (default 4rem)

Prefix Naming Convention

These styles follow the same breakpoint prefix convention as other Basscss modules.

Prefix Description
(no prefix) Not scoped to a breakpoint
sm- --breakpoint-sm (default: min-width 40em)
md- --breakpoint-md (default: min-width 52em)
lg- --breakpoint-lg (default: min-width 64em)

Change or reset default padding using the global white space scale.

Larger padding at wider breakpoints

<div class="p1 sm-p2 md-p3 lg-p4">Hamburger</div>