I’ve just published an article on Dev.to, an online development community.

It outlines the problems with percentage margins and provides a solution using pixel margins whilst keeping the percentage grid. By using the fixed-gutter calculation, you can easily enforce vertical & horizontal consistency throughout a CSS grid.

Read the full article