Advertisement
Guest User

Untitled

a guest
Dec 24th, 2014
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. <link rel="import" href="../paper-input/paper-input.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_card {
  14. position: absolute;
  15. width: 300px;
  16. height: 300px;
  17. border-radius: 2px;
  18. box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px;
  19. left: 320px;
  20. top: 160px;
  21. background-color: rgb(255, 255, 255);
  22. }
  23. #paper_input {
  24. background-color: rgb(0, 0, 160);
  25. }
  26. </style>
  27. <core-card id="core_card" layout vertical>
  28. <paper-input label="UserName" floatinglabel id="username" class="username" center></paper-input>
  29. </core-card>
  30. </template>
  31.  
  32. <script>
  33.  
  34. Polymer({
  35.  
  36. });
  37.  
  38. </script>
  39.  
  40. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement