Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <link rel="import" href="../paper-input/paper-input.html">
  2. <link rel="import" href="../paper-button/paper-button.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. }
  14. #core_card {
  15. position: absolute;
  16. width: 300px;
  17. height: 300px;
  18. border-radius: 2px;
  19. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  20. left: 380px;
  21. top: 120px;
  22. background-color: rgb(255, 255, 255);
  23. }
  24. #paper_input {
  25. left: 20px;
  26. top: 20px;
  27. position: absolute;
  28. }
  29. #paper_input1 {
  30. left: 20px;
  31. top: 70px;
  32. position: absolute;
  33. }
  34. #paper_button {
  35. left: 23px;
  36. top: 130px;
  37. position: absolute;
  38. }
  39. </style>
  40. <core-card id="core_card" vertical>
  41. <paper-input label="Type something..." id="paper_input"></paper-input>
  42. <paper-input label="Type something..." id="paper_input1"></paper-input>
  43. <paper-button id="paper_button">button</paper-button>
  44. </core-card>
  45. </template>
  46.  
  47. <script>
  48.  
  49. Polymer({
  50.  
  51. });
  52.  
  53. </script>
  54.  
  55. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement