Advertisement
Guest User

Untitled

a guest
Apr 28th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <link rel="import" href="../paper-tabs/paper-tabs.html">
  2. <link rel="import" href="../paper-tabs/paper-tab.html">
  3.  
  4. <polymer-element name="my-element">
  5.  
  6. <template>
  7. <style>
  8. :host {
  9. position: absolute;
  10. width: 100%;
  11. height: 100%;
  12. box-sizing: border-box;
  13. top: 0px;
  14. left: 0px;
  15. }
  16. #section {
  17. width: 420px;
  18. height: 630px;
  19. border: 5px solid rgb(204, 204, 204);
  20. left: 250px;
  21. top: 0px;
  22. position: absolute;
  23. }
  24. #paper_tabs {
  25. color: rgb(255, 255, 255);
  26. box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px;
  27. background-color: rgb(0, 188, 212);
  28. }
  29. </style>
  30. <section id="section" layout vertical>
  31. <paper-tabs noink nobar selected="0" selectedindex="0" id="paper_tabs" horizontal center layout>
  32. <paper-tab id="paper_tab" inline flex center-center horizontal layout active>ITEM ONE</paper-tab>
  33. <paper-tab id="paper_tab1" inline flex center-center horizontal layout>ITEM TWO</paper-tab>
  34. </paper-tabs>
  35. <section id="section1" flex relative>
  36. </section>
  37. </section>
  38. </template>
  39.  
  40. <script>
  41.  
  42. Polymer({
  43.  
  44. });
  45.  
  46. </script>
  47.  
  48. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement