> Le 3 mai 2015 à 01:02, David Hucklesby <huckle...@gmail.com> a écrit :
> 
>> The answer is here: https://drafts.csswg.org/css-flexbox/#item-margins
>> 
>> [quote] Percentage margins and paddings on flex items are always resolved
>> against their respective dimensions; unlike blocks, they do not always
>> resolve against the inline dimension of their containing block. [/quote]
>> 
> 
> Ah, yes. Did not know about that. Confused by the fact Chrome *does* apply the
> padding.

FWIW - the discussion on this very subject in the CSS working group is not 
settled! They are asking feedback  from stylesheet authors:

http://www.w3.org/blog/CSS/2015/05/05/flexbox-percentage-margins/

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to