3 ms·
Your margin scenario is exactly what css grid handles nicely (grid gutters)
by joshribakoff 9y ago
Your margin scenario is exactly what css grid handles nicely (grid gutters)
- c-smile 9y agoYes but flex units can be used not just in grid context. Consider this: <p>Foo <input style="width:1fr /> bar.</p> That <input> will span free space left in the p element from "Foo " and " bar."