I’m used to working with a box model where padding and borders are included in widths. It just makes sense to me that when I want an element to be, say, 200px wide, that I don’t have to subtract any padding or borders from that. So, in previous projects might declare this in my CSS just to zero everything out:
‘*, *:before, *:after {
box-sizing: border-box;
}`
I’m using GPP 1.9.1 and it’s using the default box model (content-box). Just wondering if any thought has gone into making a future version use border-box?
Or, if anybody has set up for border-box (by declaring a CSS rule like the one above) and then done the work of finding all the overrides needed to make the layout work as before I would be very grateful if they would like to share their work here. A SCSS module would be perfect 🙂
Similarly, is there an intention to move away from floats and into flex for layout? I see GenerateBlocks uses border-box and has flex statements sprinkled through the CSS – a sign of the future? And if that’s the case, are you able to say when a release of GPP might include these techniques?
Thanks and keep up the great work.
Cheers
Dean