W3C home > Mailing lists > Public > www-style@w3.org > January 2012

RE: [css3-flexbox] about flexible margins and alignment

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 9 Jan 2012 19:10:52 +0000
To: Andrew Fedoniuok <news@terrainformatica.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928412DD6E9A@TK5EX14MBXC214.redmond.corp.microsoft.com>
 -----Original Message-----
 From: andrew.fedoniouk@live.com
 Sent: Saturday, January 07, 2012 10:16 AM
 
 "You are saying it is a pretty common layout. Can you send a screenshot of
 that kind of layout in use?"
 
 Sure. Here is a screenshot from real-life Web App:
 http://terrainformatica.com/w3/eq-distr-buttons.png
 

Good use case. Thanks.

Maybe it is a good idea to have another option for 'flex-pack' that does exactly that (put half-space at start and end). 

It could be

	flex-pack:justify -- add equal space between items
	flex-pack:distribute -- add equal space between items and half of that at start/end

how does that sound?

Alex
Received on Monday, 9 January 2012 19:46:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT