use of @mixin to simplify CSS