Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. <link href="../topeka-elements/category-images.html" rel="import">
  2. <link href="../core-icon/core-icon.html" rel="import">
  3. <link href="../core-icons/core-icons.html" rel="import">
  4. <link href="../core-icons/av-icons.html" rel="import">
  5. <link href="../paper-fab/paper-fab.html" rel="import">
  6.  
  7. <polymer-element name="my-element">
  8.  
  9. <template>
  10. <style>
  11. #design_host {
  12. position: absolute;
  13. width: 100%;
  14. height: 100%;
  15. box-sizing: border-box;
  16. }
  17. #section {
  18. box-sizing: border-box;
  19. width: 420px;
  20. height: 582px;
  21. left: 330px;
  22. top: 20px;
  23. position: absolute;
  24. }
  25. #section1 {
  26. background-color: rgb(255, 255, 141);
  27. }
  28. #core_icon {
  29. height: 256px;
  30. width: 256px;
  31. z-index: 100;
  32. }
  33. #div {
  34. box-sizing: border-box;
  35. position: relative;
  36. height: 80px;
  37. background-color: rgb(255, 235, 59);
  38. padding: 24px;
  39. color: rgb(255, 255, 255);
  40. font-size: 32px;
  41. }
  42. #div2 {
  43. position: absolute;
  44. color: rgb(255, 255, 255);
  45. bottom: 50px;
  46. right: 24px;
  47. }
  48. #paper_fab {
  49. background-color: rgb(255, 64, 129);
  50. }
  51. </style>
  52. <section id="section" vertical layout>
  53. <section id="section1" hero-id="top" hero center-justified center horizontal layout flex class="top">
  54. <core-icon icon="category-images:knowledge" id="core_icon" designmeta="topeka-image" cross-fade-delayed></core-icon>
  55. </section>
  56. <div id="div" hero-id="bottom" hero class="bottom">
  57. <span id="span">General Knowledge</span>
  58. </div>
  59. <div id="div1" class="dummy" hero></div>
  60. <div id="div2" class="fab fab-0">
  61. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  62. </div>
  63. </section>
  64. </template>
  65.  
  66. <script>
  67.  
  68. Polymer({
  69.  
  70. });
  71.  
  72. </script>
  73.  
  74. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement