Advertisement
Guest User

Untitled

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