Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 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. position: static;
  22. left: 100%;
  23. }
  24. #section1 {
  25. background-color: rgb(255, 255, 141);
  26. }
  27. #core_icon {
  28. height: 256px;
  29. width: 256px;
  30. z-index: 100;
  31. }
  32. #div {
  33. box-sizing: border-box;
  34. position: relative;
  35. height: 80px;
  36. padding: 24px;
  37. color: rgb(255, 255, 255);
  38. font-size: 32px;
  39. background-color: rgb(255, 235, 59);
  40. }
  41. #div2 {
  42. position: absolute;
  43. color: rgb(255, 255, 255);
  44. bottom: 50px;
  45. right: 24px;
  46. }
  47. #paper_fab {
  48. background-color: rgb(255, 64, 129);
  49. }
  50. </style>
  51. <section id="section" layout vertical>
  52. <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
  53. <core-icon icon="category-images:knowledge" id="core_icon" cross-fade-delayed designmeta="topeka-image"></core-icon>
  54. </section>
  55. <div id="div" class="bottom" hero hero-id="bottom">
  56. <span id="span">General Knowledge</span>
  57. </div>
  58. <div id="div1" hero class="dummy"></div>
  59. <div id="div2" class="fab fab-0">
  60. <paper-fab icon="av:play-arrow" id="paper_fab" cross-fade-delayed></paper-fab>
  61. </div>
  62. </section>
  63. </template>
  64.  
  65. <script>
  66.  
  67. Polymer({
  68.  
  69. });
  70.  
  71. </script>
  72.  
  73. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement