Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.51 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width">
  6. <title>JS Bin</title>
  7. <style id="jsbin-css">
  8. #vaszon {
  9. width: 400px;
  10. height: 400px;
  11. background-color: ivory;
  12. margin: 0 auto;
  13. box-shadow: 15px 15px 10px gray;
  14. }
  15. #first-row {
  16. height: 75%;
  17. width: 100%;
  18. }
  19. #big-rectangle {
  20. height: 100%;
  21. width: 75%;
  22. }
  23. .red {
  24. background-color: red;
  25. }
  26. .right {
  27. float:right;
  28. }
  29. .black {
  30. background-color: black;
  31. }
  32. #first-divider {
  33. height: 100%;
  34. width: 3%;
  35. }
  36. #first-column {
  37. height: 100%;
  38. width: 22%;
  39. }
  40. #second-divider {
  41. height: 6%;
  42. width: 100%;
  43. }
  44. #first-medium-rectangle {
  45. height: 48.5%;
  46. width: 100%;
  47. }
  48. #second-medium-rectangle {
  49. height: 48.5%;
  50. width: 100%;
  51. }
  52.  
  53. #second-row {
  54. height: 3%;
  55. width: 100%;
  56. }
  57.  
  58. #third-row {
  59. height: 22%;
  60. width: 100%;
  61. }
  62.  
  63. #last-column {
  64. height: 100%;
  65. width: 5%;
  66. }
  67.  
  68. #third-divider {
  69. height: 12%;
  70. width: 100%;
  71. }
  72.  
  73. #first-small-rectangle {
  74. height: 45%;
  75. width: 100%;
  76. }
  77.  
  78. #second-small-rectangle {
  79. height: 45%;
  80. width: 100%;
  81. }
  82. #fourth-divider {
  83. height: 100%;
  84. width: 2%;
  85. }
  86. #lower-large-rectangle {
  87. height: 100%;
  88. width: 68%;
  89. }
  90. #fifth-divider {
  91. height: 100%;
  92. width: 3%;
  93. }
  94. #lower-medium-rectangle {
  95. height: 100%;
  96. width: 22%;
  97. }
  98. .goldenrod {
  99. background-color: goldenrod;
  100. }
  101. .cornflowerblue {
  102. background-color: cornflowerblue;
  103. }
  104. </style>
  105. </head>
  106. <body>
  107. <div id="vaszon">
  108. <div id="first-row">
  109. <div id="big-rectangle" class="red right"></div>
  110. <div id="first-divider" class="black right"></div>
  111. <div id="first-column" class="right">
  112. <div id="first-medium-rectangle"></div>
  113. <div id="second-divider" class="black"></div>
  114. <div id="second-medium-rectangle"></div>
  115. </div>
  116. </div>
  117. <div id="second-row" class="black"></div>
  118. <div id="third-row">
  119. <div id="last-column" class="right">
  120. <div id="first-small-rectangle"></div>
  121. <div id="third-divider" class="black"></div>
  122. <div id="second-small-rectangle" class="goldenrod"></div>
  123. </div>
  124. <div id="fourth-divider" class="black right"></div>
  125. <div id="lower-large-rectangle" class="right"></div>
  126. <div id="fifth-divider" class="black right"></div>
  127. <div id="lower-medium-rectangle" class="cornflowerblue right"></div>
  128. </div>
  129. </div>
  130.  
  131.  
  132. <script id="jsbin-source-css" type="text/css">#vaszon {
  133. width: 400px;
  134. height: 400px;
  135. background-color: ivory;
  136. margin: 0 auto;
  137. box-shadow: 15px 15px 10px gray;
  138. }
  139. #first-row {
  140. height: 75%;
  141. width: 100%;
  142. }
  143. #big-rectangle {
  144. height: 100%;
  145. width: 75%;
  146. }
  147. .red {
  148. background-color: red;
  149. }
  150. .right {
  151. float:right;
  152. }
  153. .black {
  154. background-color: black;
  155. }
  156. #first-divider {
  157. height: 100%;
  158. width: 3%;
  159. }
  160. #first-column {
  161. height: 100%;
  162. width: 22%;
  163. }
  164. #second-divider {
  165. height: 6%;
  166. width: 100%;
  167. }
  168. #first-medium-rectangle {
  169. height: 48.5%;
  170. width: 100%;
  171. }
  172. #second-medium-rectangle {
  173. height: 48.5%;
  174. width: 100%;
  175. }
  176.  
  177. #second-row {
  178. height: 3%;
  179. width: 100%;
  180. }
  181.  
  182. #third-row {
  183. height: 22%;
  184. width: 100%;
  185. }
  186.  
  187. #last-column {
  188. height: 100%;
  189. width: 5%;
  190. }
  191.  
  192. #third-divider {
  193. height: 12%;
  194. width: 100%;
  195. }
  196.  
  197. #first-small-rectangle {
  198. height: 45%;
  199. width: 100%;
  200. }
  201.  
  202. #second-small-rectangle {
  203. height: 45%;
  204. width: 100%;
  205. }
  206. #fourth-divider {
  207. height: 100%;
  208. width: 2%;
  209. }
  210. #lower-large-rectangle {
  211. height: 100%;
  212. width: 68%;
  213. }
  214. #fifth-divider {
  215. height: 100%;
  216. width: 3%;
  217. }
  218. #lower-medium-rectangle {
  219. height: 100%;
  220. width: 22%;
  221. }
  222. .goldenrod {
  223. background-color: goldenrod;
  224. }
  225. .cornflowerblue {
  226. background-color: cornflowerblue;
  227. }</script>
  228. </body>
  229. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement