[ compass ] mixin style

font-size 

also adjust the line height.

.test {

  @include adjust-font-size-to(.5em);

}

 

margin-top

@include margin-leader(.75)

margin-bottom

@include margin-trailer(.75)

margin-top and margin-bottom

rhythm-margins(.75)

padding-top

@include padding-leader(.75)

padding-bottom

@include padding-trailer(.75)

padding-top and padding-bottom

@include padding-trailer(.75)

padding-bottom, padding-bottom

@include rhythm-padding(.75)

 

ref : http://compass-style.org/reference/compass/typography/vertical_rhythm/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s