Advertisement
Guest User

Untitled

a guest
Dec 26th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. <link rel="import" href="../core-icons/core-icons.html">
  2. <link rel="import" href="../core-icons/av-icons.html">
  3. <link rel="import" href="../paper-fab/paper-fab.html">
  4.  
  5. <polymer-element name="my-element">
  6.  
  7. <template>
  8. <style>
  9. :host {
  10. position: absolute;
  11. width: 100%;
  12. height: 100%;
  13. box-sizing: border-box;
  14. }
  15. #section {
  16. box-sizing: border-box;
  17. width: 420px;
  18. height: 582px;
  19. left: 260px;
  20. top: -140px;
  21. position: absolute;
  22. }
  23. #section1 {
  24. background-color: rgb(255, 255, 141);
  25. }
  26. #div {
  27. box-sizing: border-box;
  28. position: relative;
  29. height: 80px;
  30. padding: 24px;
  31. color: rgb(255, 255, 255);
  32. font-size: 32px;
  33. background-color: rgb(255, 235, 59);
  34. }
  35. #div2 {
  36. position: absolute;
  37. color: rgb(255, 255, 255);
  38. bottom: 50px;
  39. right: 24px;
  40. }
  41. #paper_fab {
  42. background-color: rgb(255, 64, 129);
  43. }
  44. </style>
  45. </template>
  46.  
  47. <script>
  48.  
  49. Polymer({
  50.  
  51. });
  52.  
  53. </script>
  54.  
  55. </polymer-element><section id="section" layout vertical>
  56. <section id="section1" class="top" flex layout horizontal center center-justified hero hero-id="top">
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement