How to set up your grids for mobile and web designs

Let’s first break down the basic terms of the grid system – memorize them. I’m using the 8-pt grid to align all my elements and build my grids. What it means is that all spacing and margin values are increments of 8. The same thing applies to your user interface components and elements dimensions.