3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
12 <title>core-layout demo
</title>
14 <script src=
"../platform/platform.js"></script>
15 <link rel=
"import" href=
"core-layout.html">
31 <polymer-element name=
"layout-demo" noscript
>
35 box-sizing: border-flow;
36 -moz-flow-sizing: border-flow;
37 border:
2px solid #ccc;
53 <core-layout></core-layout>
55 <core-layout></core-layout>
56 <div>Hi I'm some content
</div>
58 <core-layout vertical
></core-layout>
60 <core-layout align=
"center"></core-layout>
62 <button>hello
</button>
65 <core-layout></core-layout>
66 <div core-flex
class=
"core-relative">
68 <div class=
"abs">abs pos :)
</div>
70 <div>Sidebar content
</div>
72 <div>Some more stuffs...
</div>
74 <core-layout justify=
"end"></core-layout>
78 <div>A last bit, like a panel
</div>
83 <h3>core-layout example
</h3>
84 <layout-demo></layout-demo>