Another suggestion here.
Sass provides a functionality which is known by the name of mixins. Take a look at them. You might like them. ;-)