Guest User

Untitled

a guest
Mar 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.50 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. #canvas {
  9. width: 400px;
  10. height: 400px;
  11. background-color: ivory;
  12. margin: 0 auto;
  13. box-shadow: 15px 15px 10px gray;
  14. }
  15.  
  16. #first-row {
  17. height: 75%;
  18. width: 100%;
  19. }
  20.  
  21. #big-rectangle {
  22. height: 100%;
  23. width: 75%;
  24. }
  25.  
  26. .blue {
  27. background-color: blue;
  28. }
  29.  
  30. .red {
  31. background-color: red;
  32. }
  33.  
  34. .right {
  35. float: right;
  36. }
  37.  
  38. .black {
  39. background-color: black;
  40. }
  41.  
  42. .yellow {
  43. background-color: yellow;
  44. }
  45.  
  46. #first-divider {
  47. height: 100%;
  48. width: 3%;
  49. }
  50.  
  51. #second-divider {
  52. height: 3%;
  53. width: 100%;
  54. }
  55.  
  56. #first-column {
  57. height: 100%;
  58. width: 22%;
  59.  
  60. }
  61.  
  62. #first-medium-rectangle {
  63. height: 48.5%;
  64. width: 100%;
  65. }
  66.  
  67. #second-medium-rectangle {
  68. height: 48.5%;
  69. width: 100%;
  70. }
  71.  
  72. #second-row {
  73. height: 3%;
  74. width: 100%;
  75. }
  76.  
  77. #third-row {
  78. height: 22%;
  79. width: 100%;
  80. }
  81.  
  82. #last-column {
  83. height: 100%;
  84. width: 5%;
  85. }
  86.  
  87. #first-rectangle {
  88. height: 43%;
  89. width: 100%;
  90. }
  91.  
  92. #second-rectangle {
  93. height: 14%;
  94. width: 100%;
  95. }
  96.  
  97. #third-rectangle {
  98. height: 43%;
  99. width: 100%;
  100. }
  101.  
  102. #middle-big-rectangle {
  103. background-color: lightblue;
  104. width: 67%;
  105. height: 100%;
  106. }
  107.  
  108. #divider-jos {
  109. height: 100%;
  110. width: 3%;
  111. }
  112.  
  113. #divider-jos-stanga {
  114. height: 100%;
  115. width: 3%;
  116. }
  117.  
  118. #left-rectangle {
  119. width: 22%;
  120. height: 100%;
  121. }
  122. </style>
  123. </head>
  124. <body>
  125. <div id="canvas">
  126. <div id="first-row">
  127. <div id="big-rectangle" class="red right"></div>
  128. <div id="first-divider" class="black right"></div>
  129.  
  130. <div id="first-column" class="right ">
  131. <div id="first-medium-rectangle"></div>
  132. <div id="second-divider" class="black"></div>
  133. <div id="second-medium-rectangle"></div>
  134. </div></div>
  135. <div id="second-row" class="black"></div>
  136. <div id="third-row">
  137. <div id="last-column" class="right">
  138. <div id="first-rectangle"> </div>
  139. <div id="second-rectangle" class="black"></div>
  140. <div id="third-rectangle" class="yellow"></div>
  141. </div>
  142. <div id="divider-jos" class="black right"></div>
  143. <div id="middle-big-rectangle" class="right">
  144. </div>
  145. <div id="divider-jos-stanga" class="black right"></div>
  146. <div id="left-rectangle" class="blue right"></div>
  147. </div>
  148. </div>
  149.  
  150.  
  151. <script id="jsbin-source-css" type="text/css">#canvas {
  152. width: 400px;
  153. height: 400px;
  154. background-color: ivory;
  155. margin: 0 auto;
  156. box-shadow: 15px 15px 10px gray;
  157. }
  158.  
  159. #first-row {
  160. height: 75%;
  161. width: 100%;
  162. }
  163.  
  164. #big-rectangle {
  165. height: 100%;
  166. width: 75%;
  167. }
  168.  
  169. .blue {
  170. background-color: blue;
  171. }
  172.  
  173. .red {
  174. background-color: red;
  175. }
  176.  
  177. .right {
  178. float: right;
  179. }
  180.  
  181. .black {
  182. background-color: black;
  183. }
  184.  
  185. .yellow {
  186. background-color: yellow;
  187. }
  188.  
  189. #first-divider {
  190. height: 100%;
  191. width: 3%;
  192. }
  193.  
  194. #second-divider {
  195. height: 3%;
  196. width: 100%;
  197. }
  198.  
  199. #first-column {
  200. height: 100%;
  201. width: 22%;
  202.  
  203. }
  204.  
  205. #first-medium-rectangle {
  206. height: 48.5%;
  207. width: 100%;
  208. }
  209.  
  210. #second-medium-rectangle {
  211. height: 48.5%;
  212. width: 100%;
  213. }
  214.  
  215. #second-row {
  216. height: 3%;
  217. width: 100%;
  218. }
  219.  
  220. #third-row {
  221. height: 22%;
  222. width: 100%;
  223. }
  224.  
  225. #last-column {
  226. height: 100%;
  227. width: 5%;
  228. }
  229.  
  230. #first-rectangle {
  231. height: 43%;
  232. width: 100%;
  233. }
  234.  
  235. #second-rectangle {
  236. height: 14%;
  237. width: 100%;
  238. }
  239.  
  240. #third-rectangle {
  241. height: 43%;
  242. width: 100%;
  243. }
  244.  
  245. #middle-big-rectangle {
  246. background-color: lightblue;
  247. width: 67%;
  248. height: 100%;
  249. }
  250.  
  251. #divider-jos {
  252. height: 100%;
  253. width: 3%;
  254. }
  255.  
  256. #divider-jos-stanga {
  257. height: 100%;
  258. width: 3%;
  259. }
  260.  
  261. #left-rectangle {
  262. width: 22%;
  263. height: 100%;
  264. }</script>
  265. </body>
  266. </html>
Add Comment
Please, Sign In to add comment