Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. <link href="../polymer/polymer.html" rel="import">
  2.  
  3. <polymer-element name="my-element">
  4.  
  5. <template>
  6. <style>
  7. #design_host {
  8. width: 100%;
  9. height: 100%;
  10. position: absolute;
  11. box-sizing: border-box;
  12. }
  13. #section1 {
  14. left: 680px;
  15. top: 60px;
  16. width: 420px;
  17. height: 630px;
  18. position: absolute;
  19. box-sizing: border-box;
  20. background-color: rgb(255, 255, 141);
  21. }
  22. #div {
  23. width: 150px;
  24. height: 150px;
  25. color: rgb(255, 255, 255);
  26. font-size: 100px;
  27. position: relative;
  28. box-sizing: border-box;
  29. background-color: rgb(255, 235, 59);
  30. }
  31. #section {
  32. width: 420px;
  33. height: 630px;
  34. box-sizing: border-box;
  35. background-color: rgb(255, 255, 141);
  36. }
  37. #div1 {
  38. width: 150px;
  39. height: 150px;
  40. color: rgb(255, 255, 255);
  41. font-size: 100px;
  42. position: relative;
  43. box-sizing: border-box;
  44. background-color: rgb(255, 235, 59);
  45. }
  46. #section2 {
  47. left: 920px;
  48. top: 290px;
  49. width: 420px;
  50. height: 630px;
  51. position: absolute;
  52. box-sizing: border-box;
  53. }
  54. #div2 {
  55. padding: 24px;
  56. height: 240px;
  57. color: rgb(255, 255, 255);
  58. font-size: 32px;
  59. position: relative;
  60. box-sizing: border-box;
  61. background-color: rgb(255, 235, 59);
  62. }
  63. #section3 {
  64. padding: 24px;
  65. font-size: 16px;
  66. background-color: rgb(238, 238, 238);
  67. }
  68. </style>
  69. <section id="section1" layout center vertical center-justified>
  70. <div id="div" layout center vertical center-justified hero>
  71. <span id="span">+8</span>
  72. </div>
  73. </section>
  74. <section id="section2" class="drag-element" layout vertical>
  75. <div id="div2" hero>
  76. <span id="span2">Question</span>
  77. </div>
  78. <section id="section3" flex hero>
  79. <span id="span3">Answer here</span>
  80. </section>
  81. </section>
  82. </template>
  83.  
  84. <script>
  85.  
  86. Polymer({
  87.  
  88. });
  89.  
  90. </script>
  91.  
  92. </polymer-element><section id="section" layout center vertical center-justified>
  93. <div id="div1" layout center vertical center-justified hero>
  94. <span id="span1">+8</span>
  95. </div>
  96. </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement