Advertisement
Guest User

Untitled

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