Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 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: 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: 240px;
  22. top: 40px;
  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. padding: 24px;
  38. color: rgb(255, 255, 255);
  39. font-size: 32px;
  40. background-color: rgb(255, 235, 59);
  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" layout vertical>
  53. <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
  54. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  55. </section>
  56. <div id="div" class="bottom" hero hero-id="bottom">
  57. <span id="span">General Knowledge</span>
  58. </div>
  59. <div id="div1" hero class="dummy"></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