Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. <link rel="import" href="../polymer/polymer.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: 340px;
  20. top: 170px;
  21. background-color: rgb(255, 255, 255);
  22. }
  23. </style>
  24. <core-card id="core_card" layout vertical>
  25. <div horizontal layout>
  26. <div>One</div>
  27. <div>Two</div>
  28. <div>Three</div>
  29. </div>
  30. </core-card>
  31.  
  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