Refactorized grid to create mixin 'make-grid'.