Advertisement
Guest User

Untitled

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