Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. <link rel="import" href="../core-pages/core-pages.html">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. :host {
  8. position: absolute;
  9. width: 100%;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #core_pages {
  14. width: 400px;
  15. height: 400px;
  16. border: 1px solid silver;
  17. left: 580px;
  18. top: 170px;
  19. position: absolute;
  20. }
  21. #section {
  22. position: absolute;
  23. top: 0px;
  24. left: 0px;
  25. width: 100%;
  26. height: 100%;
  27. }
  28. </style>
  29. <core-pages selected="0" selectedindex="0" notap id="core_pages">
  30. <section id="section1" active>Page Two</section>
  31. </core-pages>
  32. <section id="section" horizontal layout>Page One</section>
  33. </template>
  34.  
  35. <script>
  36.  
  37. Polymer({
  38.  
  39. });
  40.  
  41. </script>
  42.  
  43. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement