Adding padding to an element with compass

385 views Asked by At

i actually leaning compass and susy.So i found mixins for leader and trailer that add margin to my

element. Actually i would to add padding to the same element, does exist a mixin for that or do i add it manually in css ?

thanks

1

There are 1 answers

2
Miriam Suzanne On

padding-leader and padding-trailer are the padding versions of leader and trailer. You can also use rhythm-margins($leader, $trailer) or rhythm-padding($leader, $trailer) to give both values at once.

That is all part of Compass, and not related to Susy.