Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <link rel="import" href="../core-input/core-input.html">
  2. <link rel="import" href="../paper-button/paper-button.html">
  3. <link rel="import" href="../paper-checkbox/paper-checkbox.html">
  4. <link rel="import" href="../paper-radio-button/paper-radio-button.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. top: 0px;
  16. left: 0px;
  17. }
  18. #input {
  19. padding: 15px;
  20. left: 150px;
  21. top: 100px;
  22. position: absolute;
  23. }
  24. #paper_button {
  25. left: 300px;
  26. top: 100px;
  27. position: absolute;
  28. }
  29. #paper_checkbox {
  30. left: 240px;
  31. top: 220px;
  32. position: absolute;
  33. }
  34. #paper_radio_button {
  35. left: 240px;
  36. top: 300px;
  37. position: absolute;
  38. }
  39. </style>
  40. <input id="input" placeholder="type something..." is="core-input" horizontal layout>
  41. <paper-button id="paper_button" horizontal layout wrap>button</paper-button>
  42. <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
  43. <paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
  44. </template>
  45.  
  46. <script>
  47.  
  48. Polymer({
  49.  
  50. });
  51.  
  52. </script>
  53.  
  54. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement