The [layout examples][1] in the Eikon Web UI site are all using inline CSS and thus breaking the core tenet of layout being separate to content. Why is this example so verbose?
Section 1
Section 2
Section 3
Section 4
c.f.
http://jsfiddle.net/D9NGh/CSS:
.simple-example, .simple-example div {
display: flex;
flex-flow: row wrap;
}
nav {
width: 250px;
}
section {
flex: 1 100%;
}
.half {
flex: 2 0;
}
HTML 5: (not ideal as using Flexbox instead of Grid)
Section 1
Section 2
Section 3
Section 4
There many sites on flexbox layout correctly document how this should be demonstrated.
-
http://www.w3.org/TR/css3-flexbox/ -
http://learnlayout.com/flexbox.html -
http://css-tricks.com/snippets/css/a-guide-to-flexbox/ -
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Flexible_boxes [1]:
https://amers1.apps.cp.extranet.thomsonreuters.biz/Apps/EikonWebUI/1.2.12/