I have been able to replicate the following grid layout using math: static
without issues. However, I'd prefer to use fluid widths, so the design shrinks on smaller screens before changing at the next breakpoint.
When I switch to math: fluid
and try to inset the rows, using either margin-left
or padding-left
, the % widths shrink and the grid no longer correctly aligned - and the sizing of each block differs.
Is this possible to do with a fluid grid? It doesn't seem possible with percentages, but what about other units? I was surprised margin/padding made a difference to the % width, as using box-sizing: border-box
I assumed they were inside the 'seen' size.
A demo for the issue is at http://sassmeister.com/gist/83526e7319203138ace1
Thanks!