Advertisement
Guest User

Untitled

a guest
Nov 29th, 2015
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. <link rel="import" href="../topeka-elements/category-icons.html">
  2. <link rel="import" href="../core-icon/core-icon.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: 270px;
  21. top: 80px;
  22. background-color: rgb(255, 255, 255);
  23. }
  24. #core_icon {
  25. height: 128px;
  26. width: 128px;
  27. }
  28. </style>
  29. <core-card id="core_card" layout vertical>
  30. <core-icon icon="category-icons:food" id="core_icon" designmeta="topeka-icon"></core-icon>
  31. </core-card>
  32. </template>
  33.  
  34. <script>
  35.  
  36. Polymer({
  37.  
  38. });
  39.  
  40. </script>
  41.  
  42. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement