On Mon, Mar 23, 2015 at 9:11 PM, John <j...@coffeeonmars.com> wrote:

> That is pretty elegant…if I’m looking at things correctly, I need not mess
> up my entire WP theme, as long as there is a parent and child relationship,
> and said “parent” can simply be inside my content area…so the flex
> relationship would cascade downward from THAT parent…


​Yes, but be aware of other flex properties that have an effect on
horizontal alignment of child elements:
flex-direction
flex-wrap
flex-flow

And for vertical alignment:
align-items
​align-content​

​It's all spelled out in an easy-to-understand way in one of the articles
from the links before:
https://css-tricks.com/snippets/css/a-guide-to-flexbox/​

​And if you want to dig deeper the other links are really helpful:
​https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes​
http://www.w3.org/TR/css-flexbox-1/


-- 
Jon Reece
jon.re...@gmail.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