concept whitespace in category css

This is an excerpt from Manning's book Sass and Compass in Action.
Whitespace is a powerful, yet often underutilized aspect of great web design. Whitespace (or negative space) is the area between “the other stuff” in your layouts and content. Whitespace can create separation between types of information, helping you to visually scan content or calling your attention to items of greater importance.
A grid is a layout framework that helps you make efficient use of whitespace in your web pages, providing uniform dimensions for columns and rows of content, as well as other whitespace elements like margins and gutters. Though grids have been common in print since the invention of the printing press, they became popular in web design only a few short years ago. In addition to providing some best practices for whitespace use in your designs, CSS grids also allow for rapidly prototyping new layouts, since you can more quickly adjust the width of content areas.
The problem is that unless the font size for this element is a perfect multiple of your baseline rhythm, you’ll hit some sour notes in your design as your body copy will get off-rhythm. Compass provides some helpers to add leading (before) or trailing (after) whitespace to your elements and maintain your rhythm. You could style each of the preceding elements in this way:
p {@include leader; @include trailer;} h2.important {@include leader(2); @include trailer(2)}The leader mixin adds one baseline unit of margin before the element, whereas the trailer adds one baseline unit of margin after the element. Need more? You can pass the desired baseline units to the mixin. If you need padding instead of margin, Compass also provides padding-leader and padding-trailer variants of these mixins, which use padding instead of margin to add whitespace.