Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-pages/core-pages.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- }
- #core_pages {
- width: 400px;
- height: 400px;
- border: 1px solid silver;
- left: 580px;
- top: 170px;
- position: absolute;
- }
- #section {
- position: absolute;
- top: 0px;
- left: 0px;
- width: 100%;
- height: 100%;
- }
- </style>
- <core-pages selected="0" selectedindex="0" notap id="core_pages">
- <section id="section1" active>Page Two</section>
- </core-pages>
- <section id="section" horizontal layout>Page One</section>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement