Advertisement
Guest User

Untitled

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