I think Yishay is on track. I'm still changing my mind on how things are on html, different to flex. For example, in flexbox there's no gap number, but the layout knows it should be gap between elements (with "space-between"). So Flexbox put the space, how many? that depends on parent sizes...to make the simulation without space-between we use margins... At the end, are different approaches, and sometimes is very difficult to handle as we did in Flex, maybe not impossible. What I'm trying to do now is see get more experience and see how to get the best solution of both worlds...
2018-06-11 12:25 GMT+02:00 Harbs <harbs.li...@gmail.com>: > The problem is that the child does not have a way of knowing what the > extra space surrounding the parent (such as padding) will be. > > One day, I’m probably going to work on a constrained layout… > > > On Jun 11, 2018, at 1:20 PM, Yishay Weiss <yishayj...@hotmail.com> > wrote: > > > > I guess we’re a bit prejudiced coming from Flex. Once you let go of the > notion that percentages are not of the available space but of the total > parent space, it sort of makes sense. > > -- Carlos Rovira http://about.me/carlosrovira